Ubuntu Networking :: VPN Connection Between Two LANs
Feb 18, 2010
Have you ever created a VPN connection between two LANs which are geographically far away? For example LAN1 is 192.168.1.0 and LAN2 is 10.0.0.0. If I am in LAN1 I would like to be able to ping 10.0.0.1 and get packets back.
I am trying to do it with OpenVPN. I can connect two computers from both LANs using their virtual IP but I can't do that with their private IP. I think the solution must be in creating a bridge or using the "push" command of OpenVPN, unfortunately I haven't found clear information within the internet.
View 2 Replies
ADVERTISEMENT
Jun 14, 2010
So I have 3 home routers, 1 belkin and 2 netgear. I have my ISP internet connection coming into my belkin, which I then have the 2 netgear routers (from their WAN) plugged into Belkins LAN ports. Now the Ubuntu computers I have on Netgear LAN 1 and Netgear LAN2 can get to Belkin just fine (at 192.168.1.1), but I am unable to access a computer on LAN1 from a computer on LAN2 and vice-versa. My Belkin is 192.168.1.1, my Netgear1 WAN is 192.168.1.100 and Netgear2 WAN is 192.168.1.200. I have the netgears both assigning DHCP IP's from range of 192.168.0.100 to 192.168.0.150 on their LAN ports.
Now, I have set Netgear LAN1 port 80 NAT'd to go to one of my computers on it. I try to access 192.168.1.100:80 from a computer on Netgear LAN2 network and it say host unreachable.What am I doing wrong?
View 1 Replies
View Related
Feb 23, 2010
I am using Endian firewall in order to connect two LANs but I am getting many problems and I don't know how to solve them since there is no much information about this software on the internet. Do yuo know good webpage about this powerful program?
View 5 Replies
View Related
Dec 22, 2010
I have 2 routers, each are assigning IP with DHCP on. One router is plugged into cable modem second router is downstairs plugged into first router. Wire runs in WAN of second router. Each router has its own IP subset. First router assigns IP's to 192.168.1.xxx second router IP's to 10.0.0.xxx
I know I can use the second router as an AP with DHCP OFF. BIG BUT though is my wifi verizon phone got no IP assigned when running like that and wirelessly connecting to the second router. Laptops were just fine. SO, I reconfigured second router with its own subset IP being handed out. Now verizon phone is perfect.
How can I share files between connected PC's using it this way?
View 9 Replies
View Related
Jan 27, 2010
I have set up OpenVPN server using a bridged configuration. My networking "powers" aren't that advanced, so I did this by following the openvpn tutorial for bridged servers. I have tested this with several clients connecting to my server from different locations and it works very nicely (including broadcasts).
My server's LAN IP address is 192.168.2.4, and my LAN's mask is 24. Clients connecting to my server get assigned IP address that also fall within that subnet (i.e., the 192.168.2.x pool contains both physical machines in my home and "virtual" hosts). This is what the OpenVPN walkthrough specifies:
[Code]...
I was wondering if it would be possible for the VPN to fall within a different subnet (such as 10.0.1.x). I would also like to do that without adding another physical NIC to my server, or changing my physical IP address. I would imagine this is possible, since that's how hamachi does it.
View 1 Replies
View Related
Sep 4, 2010
GNU/Linux gods, guides and superbrains.Don't be moddest. I'ts YOU i'm taking about!I'll be your humble problem-describer-pixie / solution-testing-smerf :
Andreas Vinther, 1977, from Denmark
I'm trying to establish a connection between two seperate ADSL LANs (coming into the house, but from separate ISPs) to a situation where all hosts on either LAN will be able to reach any host on eiher LAN WITHOUT having to use an excess of plastic routers around the house, and please no Wireless bridges. WiFi will only be available as Access Points.
I've heard that Debian does this kind of static routintg / RIP stuff quite well. And I just happen to have one lined up in the right place, that haven't got at snowballs chance in hell of running WINXP or above. But it kills at textbased datamanipulation/forwarding/rerouting/dropping/scanning ... so I'vew made up my mind. That is what I want to do... Now how do io get around doing stuff like that.
The Debian box is connected to both networks: Hostname: AsusAnd
(192.168.1.0/24 - TDC network)
and to
(192.168.15.0/24 - Profiber network)
Needless to say, but both netmasks are 255.25.255.0 hence the /24 The respective router's LAN addresses are 192.168.1.1 and 192.168.15.1 My Debian are locked to the following IP's (reserved DHCP):
eth0:192.158.1.56 via DHCP from 192.168.1.1
eth1:192.168.15.177 via DHCP from 192.168.15.1
So far so good - Now here we go ! This is not a scenario where i'd like to always want all network-packages to travel the shortest path, nor NESSESARILY use the other ISPs gateway if the first is down or slow, although that'll be super nice.
I suspect that'll involve router-protocols like RIP. I'll be super pleased to get some guidelines there as well, as i suspect it'll be quite easy to implement once everything else is in place. Although RIP isn't our main goal, it probably comes as a close second. I think we all would like as stable and fast a connection as possible.
I was actually so naive that i thought if i added two static routes to the two routers x.x.1.1 and x.x.15.1, that my problems would automatically be solved by my Debian box, and that it would automatically act as a gateway when the routers send their packages for the other net. As long as i was connected to both LANs at the same time.
Note: I haven't changed or tweaked the Debian kernel to do routing. this is a simple stable install from the net-inst.iso of Debian 5. I'd like to keep it that way unless there's no way around it.
my routers have static routes to each other (WITH PROPER CABLING), configured as follows:
(On router with LAN 192.168.1.1)
[static route] to 192.168.15.0 with nmask 255.255.255.0 going throuhg gateway 192.158.1.56 ( Taken from above info ) - metric around 2
Similary on my other NIC directly cabled to another switch ---and-then-to-another---> Router
[code]....
View 1 Replies
View Related
Jul 18, 2011
The goal is to make connection calls (ssh, ping, ...) possible from one LAN (LAN-1) to a number of (at the moment two) separate smaller LANs.These smaller LANs (LAN-2a, LAN-2b, ...) have exact same specifications (same IP range, same number of nodes, ...)!The idea is to use a Fedora box (release 14 with 2.6.35.6-45.fc14.i686) and implement an appropriate iptables routing/forwarding.The Fedora box has three network interfaces:
- eth0 (aaa.bbb.ccc.m) on LAN-1 (aaa.bbb.ccc.0/24)
- eth1 (ddd.eee.fff.n) on LAN-2a (ddd.eee.fff.0/27)
- eth2 (ddd.eee.fff.p) on LAN-2b (ddd.eee.fff.0/27)
[code]....
View 10 Replies
View Related
Jun 27, 2010
For some simulation, I am trying to configure a setup of 3 ubuntu desktops (one of them with multiple network cards) to behave in the following way:
Each one of them should be a separate network not seeing the others (including multicast addresses) They need to have internet access through the machine with multiple network cards. So from the point of view of each machine they define a LAN in which it is the only device and have internet access through the gateway machine.
What do I need to do to configure these machines for the above setup?
View 6 Replies
View Related
Jul 15, 2010
I just installed Ubuntu 9.10 Karmic Koala recently and I am having trouble getting onto a wireless LAN. Moreover, no wireless networks actually appear under the network manager in the toolbar.how I can fix this?FYI I am using a toshiba laptop (not sure of the version), kernel 2.6.31-22-generic. I have been reading around online and haven't found much help. Do I need to install wireless drivers?
View 7 Replies
View Related
Apr 3, 2011
I'm trying to create a PAN (Personal Area Network) using a laptop (Siragon ML-1040) and my desktop computer, but I get the Connection Refused (111) error.
Blueman doesn't detect any network service between the two computers unless I start PAND on one of them and then it detects the NAP service. That, only after I enable the NAP/Workgroup services on the Services submenu in Blueman. However, it doesn't work neither with the NM plugins or without them (dhclient and that other one I can't remember the name of).
Any clues over here? I'm using pand 4.91 and blueman.
View 3 Replies
View Related
Jan 24, 2010
Its a case of ".... wireless network connection active but still not internet connection .."I am using WEP - 128 key ... Works when I connect directly using ethernet cable ... but not wireless (pci and wireless router)
ubuadmin@ubucomputer:~$ ifconfig
wlan0 Link encap:Ethernet HWaddr 00:06:25:12:83:3b
inet addr:192.168.1.10 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::206:25ff:fe12:833b/64 Scope:Link[code].....
View 5 Replies
View Related
Jul 28, 2010
I'm trying to do a SSH connection between my home and work PC both machines are running ubuntu 10.04. I have read all the comunity documentation at [URL] from Work PC. I went on to the web site what is my ip address and noted down the number, From Home i opened a terminal and typed: pnig (ip address). to which their was no reply, now i'm assuming i need to configure the works router to except connection requests, is this Correct?
Also what information do i need from my works network and how do i get it? I understand that I need the routers expernal ip address, but how do i referiance a specified computer after that address? What program do i use in ubunu and how is that information applied to it?
View 4 Replies
View Related
Jun 11, 2011
My problem is exactly the same as [URL]
but I am stuck at the last hurdle
here are the output of the command that helped to solve the case in the previous post:
ifconfig wlan0
wlan0 Link encap:Ethernet HWaddr 00:1b:77:d2:59:55
inet6 addr: fe80::21b:77ff:fed2:5955/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
[Code].....
I have also tried sudo dhclient but it hasn't helped and I am still unable to connect to the internet
View 1 Replies
View Related
Jun 21, 2009
I have installed Fedora 11 recently. I want to share my Internet connection.
I have e LAN connection eth0 which is connected to internet.
I have a Wireless connection wlan0.
I want to share my internet connection with wireless connection.
View 3 Replies
View Related
May 13, 2011
When I have video running and the video stops, I see that the connection is destroyed in about 5 seconds, which is what I want. If, rather than stopping the video, I pull the plug, I have seen it take 350 and 380 seconds before the connection is destroyed. Why is there such a large difference in the time to destroy a video connection between stopping the video and pulling the plug on it when using net filter connection tracking? How can I shorten the time for the connection to get destroyed when pulling the plug?
View 3 Replies
View Related
Feb 4, 2010
I have two linux laptops. Currently, I'm using both of them at work, side-by-side. Now the problem is, I'm connected to a wireless router, but the wireless only works on one of the laptops. So I'm stuck with one laptop that has no access to the internet. Both machines do, however, have working ethernet nic cards. So, I was wondering if I could use the laptop with the wireless connection to share the internet connection with my other linux machine and access the internet on both of them. Or as an alternative, just use the internet on the machine without wireless and be able to switch back and forth, that would increase my productivity like 30 fold.
View 5 Replies
View Related
Apr 23, 2010
I'm trying to setup PPPoE connection to establish my DSL connection, but I got
Code:
pppoe[3885]: read (asyncReadFromPPP): Session 4479: Input/output error
pppd[4104]: Cannot determine ethernet address for proxy ARP
in my sylog file.
When I do pppoe-start, it connected but I cannot ping into any destination (even to my modem in the same network). DNS servers are explicitly set in pppoe.conf and resolv.conf. Did I miss anything?
View 2 Replies
View Related
May 8, 2010
I have problem in making connection to my vpn server I can make connection from windows xp to that but can not open any website and I can not ping 172.16.10.1 when connection established.
These are my configuration files:
server config file:
Quote:
client configuration file:
Quote:
And this is my server syslog tailed file:
Quote:
And I added this routing to /etc/rc.d:
Quote:
And this is my iptable:
Quote:
And vpn connection is lost after establishing a lot.
View 4 Replies
View Related
Jul 25, 2010
installed opensuse 11.3 on a Dell laptop.NetworkManager and Ndiswrapper, allready instaled(last updated versions), but suse can not detect or see any wireless lans.
Can anybody help?
View 9 Replies
View Related
May 26, 2010
I have just installed ubuntu 10 on a thinkpad t410. At first everything worked swimmingly, INCLUDING the wireless. After about five minutes, the wireless stopped working, in that it seemed to think it was still connected but pinging didn't work. I've now restarted several times, and each time I restart, the wireless works for about 1 minute, then stops working. If I try to disconnect and reconnect it will not reconnect (until I restart, that is).
iwconfig shows the correct ESSID and ifconfig shows an address, and "connection information" shows a varying percentage of connection.
View 1 Replies
View Related
Mar 26, 2010
I connect to my work with GRDC through a VPN. All worked fine until yesterday. IT is now very slow. Could this have anything to do with the fact that Update Manager was only able to do a partial upgrade?
I use Ubuntu 9.10 I tried the RDC on a Win XP machine and the speed is normal, so I don't think the Remote Desktop Server is the problem. Is there a way to test thespeed of the VPN connection or the RDC connection?
View 3 Replies
View Related
Feb 9, 2010
I have 2 computer: 1 computer install ubuntu v9.10, in this computer already installed openssh-server and openssh-client, and 1 computer install windows. In computer with windows , i used putty connect to computer with ubuntu, but i can't connect. I don't understand what's error.
In the Putty , i configured:
IP : IP address of computer Ubuntu.
Port 22
Connection Type SSH
This is error: "Network Error: Software caused connection abort"
In computer with windows, i can ping computer with ubuntu and in computer with ubuntu i can ping computer with windows.
View 5 Replies
View Related
Oct 31, 2010
I have the "Work Offline" problem: when I boot up, the icon on the toolbar tells me I have "No network connection". This is not quite true, since I can access the first page of any website - only subsequent pages are inaccessible. I get a message saying that Firefox is offline. However, when I uncheck "Work Offline" in the File menu, it makes no difference to this behavior.
The problem is on my Ubuntu Dell desktop, which is connected to the internet with cable broadband via a D-Link router (wired connection). It has worked fine up till now. I use Ubuntu 10.04 and Firefox 3.6.11. I am writing this on my Ubuntu Dell laptop which is wired to the same router, so I assume the problem is not the router. I have tried various strategies suggested in threads on these forums, including editing about:config, changing "allow" to "deny" in some lines of /etc/dbus-1/system.d/NetworkManager.conf and changing from Automatic (DHCP) to Automatic (DHCP) Addresses only, but no luck so far. The contents of ifconfig are:
eth0
Link encap:Ethernet HWaddr 001:aa0:91:a7:51
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets: 0 errors: 0 dropped: 0 overruns: 0 carrier: 0
collisons: 0 txqueulen: 1000
RX bytes: 0 (0.0 B) TX bytes: 0 (0.0 B)
[Code]...
If I comment out "auto eth0" as well, it makes no difference. If I uncomment both lines ("auto eth0" and "iface eth0 inet dhcp") then I lose the internet connection altogether.
View 4 Replies
View Related
Jan 9, 2011
I am running Ubuntu 10.10, and I would like to use my computer to share the internet connection from an ethernet port. For example, I would like to set up my computer as a wireless access point so I can create a network that other computers can connect to for internet.
View 3 Replies
View Related
Apr 6, 2010
i m using RHEL5 on my server machine and open suse 10 on my client machine.both system ping each other, firewall is off of my server machine,i put a file from my client to my server machine using scp command but ftp command is not working when i want to open connection i receive a message "connection refused".what can be the issue?
View 5 Replies
View Related
Jul 9, 2010
I need to setup an Ubuntu Server to handle backups over the network (probably rsync over ssh). That server will then transfer the backup data offsite over a secondary external data line.How can I configure the ethernet interfaces to handle such a scenario?
View 1 Replies
View Related
Jun 1, 2011
I just installed Ubuntu 11.04 desktop on my desktop in dual boot with Windows 7.
Heres my problem, I am unable to connect to the Internet even though my wired Ethernet connection says it is connected normally. The wierd thing about this is that I also have a wireless card in my desktop and when I connect through that I am able to connect to the Internet. I am connecting to a router that is functioning as a repeater to my main router/cable modem. I have tried to solve this myself but am having no luck. Ironically, earlier today suddenly my ethernet connection worked for a few minutes without me modifying anything.
The output of some terminal commands are below.
Quote:
Quote:
Quote:
However a pint to that ip address (my router) is successful.
Quote:
Hosts.allow and hosts.deny are both fine (not blank but no entries)
View 1 Replies
View Related
Jul 26, 2010
my netbook shares it's wireless connection to my desktop. i've done this through the gui (edit connections > eth0 > ipv4 settings > shared to others) and it has worked for the last i don't know how many months.recently it had become a bit touchy with regards to how it was set up. it didn't work unless the netbook was already booted and wired in at the time of booting the desktop.now however it's gotten even worse and all i get when i connect them together is
"connection established" *pause* "disconnected" *pause* "connection established" *pause* "disconnected" *pause* "connection established" *pause* "disconnected" *pause* "connection established" *pause* "disconnected" *pause* "connection established" *pause* "disconnected" *pause* "connection established" *pause* "disconnected" *pause* "connection established" *pause* "disconnected" *pause* "connection established" *pause* "disconnected" and so on.
View 2 Replies
View Related
Jan 16, 2011
I just want to use Internet Connection Sharing (ICS) to connect to the internet. I have done a massive amount of troubleshooting, but some of it seems to contradict itself, and the only two things that I know for sure are that it used to work, and that my Ethernet cable is not the problem. When I use Terminal utilities like ifup and dhclient it seems that it can not determine IP information, but when I try to put it in manually, the "Apply" button grays out right after I finish typing it in. When I try to connect normally, in KDE or GNOME, the icon acts like it's connecting, then instead of having the connected icon, I receive a notification that "the network has been disconnected", and it goes back to the disconnected icon.
Oh, and by the way, I know that I could probably find a workaround, but I have limited resources, and this used to work. The Linux is a Dell desktop with Fedora 12 and the Windows is a Windows 7 HP laptop.EDIT: I hope that I didn't mess something up, but I accidentally used system-network-config to try putting in the IP address there, and ended up changing it back to the original settings, but the computer is now calling it Auto Ethernet in the taskbar icon, although sudo iwconfig in the terminal still calls it eth0.
View 7 Replies
View Related
Mar 6, 2010
I have installed fedora 12 recently. after installation i tried to connect to the internet using BSNL broadband connection. I filled in the details such as IP, Netmask, Gateway and even DNS servers. In the services also I ensured that the network manager services is on. However even though my computer cannot connect to the internet. I then tried the ping test of the modem from the address 192.168.1.1 and found that the ping test is successful. Then i tried the network administrator and there I noticed something unusual.
There are two options in the devices eth0 and eth1 thats ok but the unusual; thing is that the Activate (green button), Deactivate (red button) and even the delete buttons are in the background and I cannot select them. Isthis the problem for the network connectivity.
[Code]....
I then tried the ping test of the modem from the address 192.168.1.1 and found that the ping test is successful. Then i tried the network administrator and there I noticed something unusual. There are two options in the devices eth0 and eth1 thats ok but the unusual; thing is that the Activate (green button), Deactivate (red button) and even the delete buttons are in the background and I cannot select them. Isthis the problem for the network connectivity.
View 3 Replies
View Related