Networking :: How To Connect Systems In Private Network With Public

Jan 11, 2011

We have to connect one PC in private network (campus) with other PC (mostly a modem in our case)in public network. Connection should be peer to peer like and we have to use C coding for establishing connection between this two systems. Is it possible if we use port forwarding or is there any other way?

View 2 Replies


ADVERTISEMENT

General :: Connect Systems In Private And Public Networks Using IP

Jan 11, 2011

I have one doubt that is how can we actually connect a system in private network with the system in a public network using IP address. I have one system in private network (in my campus) I need to connect it with the system on public network (home) using IP address and communicate with each other. How can I do it or is there any other way of connecting these two systems more easily?

View 4 Replies View Related

OpenSUSE Network :: Configuring FileZilla - Public And Private Key?

Mar 14, 2010

i am totally new to Opensuse and to filezilla. I formerly used winscp - a windows-client for ssh.now i have a linux box and want to connect to the server via ssh ing filezilla.Can i use the same keys as i used in WinSCP - where should i store them and the third question.I read something about a certain so called certificate-file that has to be created!?

View 1 Replies View Related

OpenSUSE Network :: 11.3 - SSH Connections Using Public / Private Keys Rejected

Aug 10, 2010

My ISP has for a long time had a broken forward/reverese DNS so that my ADSL connection with static IP address resolves to a completely different IP address on a reverse query. This has not been a problem until I upgraded a remote server from 10.3 to 11.3 last weekend and now ssh connections from my ADSL connection to it using public/private keys are being rejected with the following message in /var/log/messages (IP addresses changed):
Aug 10 12:00:32 penguin1 sshd[1270]: Address 83.175.246.243 maps to 83-175-246-243.static.dsl.aupex.com, but this does not map back to the address - Possible Break in Attempt!

But if I log in interactively with username & password, the connection succeeds. I've changed the StrictModes setting in sshd_config to 'no' but this hasn't resolved the problem. Obviously something in 11.3 is being stricter about this IP mismatch than it was in 10.2 (and no, the server is not using a firewall). There must be something I can change to make sshd more permissive? I've tried before to get my ISP to fix their problem but no luck. This needs to be sorted as a server at my home (which does not run SuSE) retrieves backups from the remote OpenSuSE 11.3 server every night using scp and these are now failing.

View 3 Replies View Related

Ubuntu :: Use Openssl Public And Private Keys So Only A Host With The Public Key Could Access / Decrypt The Filesharing

Aug 2, 2011

I'm trying to write a p2p file sharing program using python's built-in libraries. Everything is going well. The only thing is that i'd like to be able to use openssl public and private keys so only a host with the public key could access/decrypt the filesharing. I've gotten these libraries (httplib, basehttpserver, ssl, os) to work using just a pem file containing both the public and private keys but no success with them seperately. Can someone point me in the right direction or offer an alternative? PS, the goal of the project is to create an anonymous, decentralized, secure file sharing program. I want to be able to upload this to sourceforge so everyone can use it, if that's any incentive

View 2 Replies View Related

Networking :: SSH Setup - Public / Private Key Authentication?

May 7, 2010

After years with Linux and using ssh on a daily basis I have to admit I've never setup public/private key authentication and I've never run passwordless logon to ssh. It's not that I've never tried, I have - I've just never got it working. That to me is an almost alien concept as I am a tinkerer at heart and rarely stop until something is working the way I'd like it to. I get the principle of what's going on but I've always had a mental block about it.

View 3 Replies View Related

Networking :: Keepalived Redirect Public Vip To Private Vip?

Jun 2, 2011

I have a strange problem and I can't seem to find clear information on how to do this . I have 2 loadbalancer set up keepalived NAT mode with 2 interfaces each

internal vip - 192.168.0.199
external vip - 195.x.x.21
lb1 -master
bond0 - private - 192.168.0.239

[code]...

View 1 Replies View Related

Ubuntu Networking :: Public IP Vs Private IP For DHCP Server?

Feb 12, 2011

My Ubuntu server is now providing routing duties to my network, but I'm having trouble opening ports to my network. I have a DynDNS account, so the IP is always current, but I can't ping even my IP directly.

My network map looks like

Internet > SpeedTouch DSL modem with DHCP > eth1 > Ubuntu > eth0 > LAN

With the modem providing a 192.168.1.xx IP to eth1, I can browse fine. The default gateway is my modem. I switched to the public IP of the modem so I could use iptables for firewall duties, but I was locked out of the internet. No gateway was set when I did that, but eth1 received the public IP of my modem.

How can I use the public IP assigned to eth1?

View 6 Replies View Related

Ubuntu Networking :: Port Forwarding From Public Address To Private Address?

Feb 24, 2010

Currently my OS is Ubuntu 9.04 Jaunty Jackalope Desktop OS and my web server is Apache2. I have a public address 60.x.y.z and my pc local address is 10.x.y.z. I have a web app in my Apache2 which currently run in localhost(10.x.y.z).

I would like to enable the web app so that it could be browse from outside. I know there maybe some port forwarding process and some commands involved in order to do that. But I have no idea on the steps to do that.

View 5 Replies View Related

General :: Generate A Public/private Key - UNIX

Nov 17, 2010

For using SSH, why does a host also need to have a public and private key? And how can I generate a public/private key pair for myself?

View 5 Replies View Related

General :: Github Private/public SSH Key Authentication?

Jan 28, 2011

I created a private/public pair. I put the public on github.But I can never push to github.Every time, it says public denied. In order to push, I need to do this:eval ssh-agentssh-add ~/.ssh/github_dsaThis is driving me nuts that I have to do this every time. So, I just put it in my ~/.bashrc file. I feel like that's a hack. Is this normal?

View 1 Replies View Related

Programming :: C++ Using Private Variable In Public Function?

Feb 6, 2011

I have a class in which a have declared a private variable "time". In one of the public functions, I am returning the value of "time" (either directly by using "return time;" or by something similar to "x=time; return x;" but I keep getting a compiling error saying that "time" is not declared in this scope.

View 3 Replies View Related

Red Hat :: Public And Private NIC - Hardening Snmp Via IP Tables?

Dec 7, 2010

Most of our machines have public facing and backend mgmt private nics(ie: 192 or 172 networks). I wrote a rule that matches source ip(our monitor on a 192 network) on udp 161 accept. I want to prevent listening on that port on the public. Is the source rule sufficient or should I match the interface and then source? I know there a many ways to do this. I need to verify from the public network with a port scanner?

View 2 Replies View Related

Slackware :: Generate The Public / Private Keys?

Feb 27, 2011

I'm trying to set up my laptop to ssh into my home server, but I'm trying to find how to generate the public/private keys. I was able to do it in Slack 12.2 by just running ssh-keygen, but that command is not in 13.x.

View 2 Replies View Related

Ubuntu :: Disable Password-Authentication Using Public / Private Key With Ssh

Mar 27, 2010

So after tinkering for a while, I was able to configure ssh for private/public key authentication and disabled Password-Authentication. In the past I had some issues with people brute force trying passwords/usernames so I want to avoid this, but I need some form of secure FTP that now doesn't work due to the aforementioned setting.

View 2 Replies View Related

General :: Generating Public And Private Keys Using Putty Key Gen?

Jul 19, 2010

Another question though...i have a fedora 12 server set up and i have created 3 sudo users. I have created 3 putty keys (public and private) using putty key gen and basedn my research i was told to put the public keys in /home/"user"/.ssh/authorized_keys .I did that but when i tried to log on using the key...the server is saying "server refused key" could anyone assist in this issue

View 4 Replies View Related

Security :: Ssh-keygen - Find The Public Key Belonging To A Given Private One?

Feb 18, 2010

In my ~/.ssh I have a number of public keys and one private key (id_rsa). How can I verify which one makes a pair with the private one.Or, can one generate the public one from the private key (in reasonable time)?

View 4 Replies View Related

Software :: Possible To Do Public And Private Ftp Server In One Host Without Using Tcp Wrapper?

May 13, 2011

I want to know that it is possible to do public and private ftp server in one host without using tcp wrapper.

View 1 Replies View Related

General :: Configure Ssh To Stop Requiring Public/private Key Auth?

Dec 29, 2009

I configured ssh on one of my servers to require public/private key authentication and deny access to login requests not using a public/private key. Now I need to unconfigure that,but I can't remember how I did it. I've looked through ssh_config and sshd_config, and nothing rings a bell. Googling only tells me how to enable public/private key authentication, not how to require it or stop requiring it.

View 2 Replies View Related

Ubuntu Servers :: Setup The Necessary Public/private Keys To Use In FileZilla?

Jan 26, 2010

I installed OpenSSH via tasksel and am using Webmin for administration. I'd like to be able to SSH externally and want to setup the necessary public/private keys to use in FileZilla. In Webmin, under Servers > SSH Server I can click 'Host Keys' and see an RSA key. Is this the public or private key for my server? Do I need to copy this into a text file to import it into FileZilla on my remote PC (that I want to connect from)? Is that all that needs to be done (aside from opening the port on my router/firewall)? Or, is there an automated way to set this up via Webmin?

View 1 Replies View Related

Ubuntu Security :: Public / Private Keys On Multiple Servers?

Mar 26, 2010

At the moment we have one SSH server with the private key being on a usb flash drive, and the public key being on the server in authorized_keys2. Now that three more servers are coming online, should we generate new keys, so we have muliple private and public keys (one pair for each server), or use the same two keys to access all the servers

View 5 Replies View Related

Programming :: Sending RSA Public/private Keys Into Calling Function?

Sep 9, 2010

My calling application will accept only strings and interger. we are replacing RSA bsafe library to openssl. using RSA bsafe, we have generated the private and public key in BER format. Then convert the keys, BER format into ASCII format to send the calling function. (these everything done by using RSA supplied bsafe library) same way i have to right using openssl..i m now able convert the RSA public and private key into DER format

rsa = RSA_generate_key(1024, 3, NULL, NULL);
{
size_t size;

[code]....

View 1 Replies View Related

Networking :: Connect To Server Without Public IP?

Jul 18, 2011

I want to use my personal computer remotely. The problem is my computer is connected to a local network that I can't modify. I can connect from my computer to another one that has public IP via ssh. Is it possible to login to the "proxy" computer from somewhere and somehow use the connection established before to connect to my PC?

View 3 Replies View Related

Networking :: Individually Address Hosts In Private Network From The Outside

May 24, 2011

The facts are as follows:

1. I have at work a regular LAN with many PCs, each with a DNS-registered public IP. Therefore I am able to address each of these PCs by their fully-qualified names and, for instance, initiate ssh sessions to any of these computers just by typing "ssh <name_of_machine>" from a terminal.

2. Within the aforementioned LAN I have just created a private network with some clients, which access the LAN through a router (a D-link DIR-825). We have created this private network for many reasons, but most importantly because we need to guarantee that the hosts in this network will remain networked among them even if the LAN goes down for any reason (which unfortunately happens often). But we still need to have access to the hosts in the private network from the LAN.

3. I am able to define port forwarding rules in the router in order to access certain services on the private network's clients. For example. I am able to access (by ssh) hosts "H1" and "H2" on the private network from a client on the LAN by defining rules for forwarding ports "P1" and "P2" on the router's public IP to TCP port 22 on the private IPs of "H1" and "H2", respectively. Then I would access each of these hosts from the LAN by using:

>ssh -p P1 [ip.address.of.router] (for accessing H1) and >ssh -p P2 [ip.address.of.router] (for accessing H2)

4. The problem with the port forwarding approach is that it is not easily scalable. For instance, If I wanted to enable ssh access to each host in the private network, I would have to define a port forwarding rule for each machine, and then REMEMBER all these port rules when initiating a ssh session from the LAN in order to point to the right host. And the problem gets worse when considering more services in addition to ssh.

5. The ideal solution would be to be have a means for addressing each host in the private network individually, in much the same way in which I address the hosts in the LAN (which have DNS-registered names). For instance, in order to access hosts H1 and H2 as in the previous example, i would like to be able to just type

>ssh [name_of_host_H1] (for accessing H1) and >ssh [name_of_host_H2] (for accessing H2)

The bottom line:

I guess I can say that what I need is some kind of combined DNS-ing and routing that allows me to communicate with the hosts in the private network from outside of it in a transparent way.

The question is: what are any possible solutions for accomplishing this? I have searched the web and found stuff about things like VPNs, reverse-proxies and NAT servers, but I really can't understand if any of these could serve to solve my problem (BTW, isn't my router doing some sort of NAT-ing already? could I just add some DNS-ing in some way?)

View 3 Replies View Related

Networking :: Server Can't Ping Other Boxes On Private Network

Jul 27, 2011

I run a server that is connected to several other boxes in a private network (192.168.0.0). I have had no problems previously, but upon a reinstall of Debian squeeze I have no connectivity to the private network: a ping of other addresses on that network fail. Ping and connection to outside world is fine. This box is configured similarly to another on this private network which connects successfully. I have quadruple-checked all my basic information. I post my ifconfig below of the malfunctioning device, then the ifconfig for equivalent nic on a box connected succesfully to the private network.

Questions:

1.Could it be a cable problem? (I don't see how since the cables have not been changed I do not believe since my reinstallation).

2. What about the difference in the last lines of eth1 below and eth2 of the successful box. Is it significant that the bad eth1 reads Memory:fc3a0000-fc3c0000

View 5 Replies View Related

Networking :: Access Pvt. Network From Public Network

Jul 13, 2009

Can any outsider(from Public N/w) access my pvt. network.i.e. my clients of my subnet? If yes how ??and if no why?

View 1 Replies View Related

Ubuntu Networking :: Ipaddress Of Systems \ Ip Address Is Given Manuallyto Connect Each For Lan Connection?

Mar 15, 2011

In my working environment have 40 system .Its ip address is given manuallyto connect each for lan connection .40 are not using ubuntu while other using windows .My question is there any package to trace ips of entire system

View 9 Replies View Related

Networking :: Configure AD-hoc Network Between Two Systems?

Mar 9, 2011

I am doing a project based on the AD-HOC network. i have to do this on the two linux systems currently i am using fedora 13 and opensuse 10.3 beacuse the two laptops supports only these. the exact problem is how to configure the adhoc network to connect these two systems urgent reply needed please

View 1 Replies View Related

Ubuntu Networking :: Connect To Public Wifi In Coffee Shops And Fast Food Restaurants?

Jun 5, 2011

I know this has been covered before, and I have searched for two hours with no success. Problem: When trying to connect to public wifi in coffee shops and fast food restaurants, I can connect to the networks fine, but Firefox will not display the page that requires input of a code or terms agreement.

I remember months ago reading something about using the ifup command somehow as a work around, but there must be an easier way.

View 3 Replies View Related

Ubuntu Networking :: Universal Network Folder Syntax For The Network And Other "special" File Systems?

Jun 16, 2011

Paths displayed in Nautilus appear to be just that. Nautilus private syntax. Esp with respect to anything "special". Apparently when you hand a path like this to a program to open, you get a folder in your home directory: smb://cyberstorm/c_drive/

At least that is what my program does with it. A folder called smb: in my home directory. Probably because the default folder for the program is the home directory [~]. Is there a universal network folder syntax for the network and other "special" file systems?

I see things like: network:/// and computer:/// showing up in "properties" dialogs for some things. But these are useless to a program apparently.

At least a program written in Qt. Is this a Qt problem, or a problem with Ubuntu not yet making the network a first class citizen in the world of paths? Who do I complain to? Time for the network to be a first class citizen, right?

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved