Re: [Vtun-Users] Attached machine not seeing other end of tunnel
Status: Inactive
Brought to you by:
mtbishop
From: Mauro I. <ma...@ju...> - 2002-03-23 18:27:18
|
Solved, silly oversight. For the thread, here is the proper setup: The eth1 ip is 192.168.111.1 and that is the gateway for Machine. Also did a echo "1" > /proc/sys/net/ipv4/ip_forward and I can now ping the 192.168.112.254 ip Machine -> eth1 -> tunnel server----> tunnel client -> eth1 -> Machine2 .111.10 .111.1 .111.254 .112.254 .112.1 .112.10 Mauro Incrocci wrote: > > Goal: Allow machines on inside end of a tunnel to see machines on the > other end of a tunnel > > Machine -> eth1 -> tunnel server----> tunnel client -> eth1 -> Machine2 > 192.168.111.10 192.168.111.254 192.168.112.254 192.168.112.10 > > Problem: When a machine on eth1 side of tunnel is attached, it cannot > see the other gateway. The tunnel works as I can ping one gateway from > the other. > > server/client machine build: > redhat 7.2 kernel 2.4.9-31 > i386 > 233Mghz 128 Mb Ram > latest patches > > Machine settings: > IP 192.168.111.10 > Gateway: 192.168.111.254 > > If the lines below appear broken in the email, they are on a single line > ending in a semi-colon > > Tunnel Server vtund.conf > options { > port 5000; # Listen on this port. > # Path to various programs > ppp /usr/sbin/pppd; > ifconfig /sbin/ifconfig; > route /sbin/route; > firewall /sbin/ipchains; > } > default { > compress no; # Compression is off by default > speed 0; # By default maximum speed, NO shaping > keepalive yes; # Keep connection alive > encrypt no; # some blowfish with dinner? > type tun; # (tun, ether, tty (default), pipe) > proto tcp; # the default > persist yes; # Try to reconnect if disconnected > } > > linux-danz { > pass ###; # Password for this client to connect to us. > up { > ifconfig "%% 192.168.111.254 pointopoint 192.168.112.254 mtu 1450"; > route "add -net 192.168.112.0 netmask 255.255.255.0 gw 192.168.112.254"; > firewall "-I forward -s 192.168.111.0/24 -d 192.168.112.0/24 -j ACCEPT -b"; > program "/sbin/arp -sD 192.168.111.254 eth1 pub"; > > }; > } > > Tunnel Client vtund.conf > > options { > port 5000; # Listen on this port. > # Path to various programs > ppp /usr/sbin/pppd; > ifconfig /sbin/ifconfig; > route /sbin/route; > firewall /sbin/ipchains; > } > default { > compress no; # Compression is off by default > speed 0; # By default maximum speed, NO shaping > keepalive yes; # Keep connection alive > encrypt no; # some blowfish with dinner? > type tun; # (tun, ether, tty (default), pipe) > proto tcp; # the default > persist yes; # Try to reconnect if disconnected > } > > linux-danz { > pass ###; # Our Password > up { > ifconfig "%% 192.168.112.254 pointopoint 192.168.111.254 mtu 1450"; > route "add -net 192.168.111.0 netmask 255.255.255.0 gw > 192.168.111.254"; > firewall "-I forward -s 192.168.111.0/24 -d 192.168.112.0/24 -j > ACCEPT -b"; > program "/sbin/arp -sD 192.168.112.254 eth1 pub"; > }; > } > > > _______________________________________________ > Vtun-Users mailing list > Vtu...@li... > https://lists.sourceforge.net/lists/listinfo/vtun-users -- =-=Mauro Incrocci=-= Systems Administrator PCNet (Kelowna) 1-888-944-4638 (INET) Ex. 710 |