Thread: (Routing/IPTables Help) Network Area Translation Script from Router Guide not working
hello,
i've been trying make home computer router using walk-through located @ https://help.ubuntu.com/community/router
in past have created ubuntu routers, on ubuntu 11.10 amd64 desktop edition network area translation script provided in walk-through (https://help.ubuntu.com/community/ro...d_masquerading) not work.
dhcp clients using internal network of "ubuntu router" can ping router , router can ping back. issue network area translation. have blindly been using provided script worked in past, not.
thing unfamiliar iptables , routing hand.
here quick info network setup:
eth0 external network , eth1 internal network
the internet works on "ubuntu router," issue nating.code:auto lo iface lo inet loopback auto eth0 iface eth0 inet dhcp auto eth1 iface eth1 inet static address 192.168.2.1 network 192.168.2.0 netmask 255.255.255.0 broadcast 192.168.2.255
here routing:
the nat script same in mentioned link ubuntu community wiki.code:root@e6400:/etc/init.d# netstat -lr kernel ip routing table destination gateway genmask flags mss window irtt iface default wireless_broadb 0.0.0.0 ug 0 0 0 eth0 link-local * 255.255.0.0 u 0 0 0 eth0 192.168.1.0 * 255.255.255.0 u 0 0 0 eth0 192.168.2.0 * 255.255.255.0 u 0 0 0 eth1
type of routing should hand have internet of eth0 nated eth1?
, how unnat in future? (the reason being nat point point connection need learn commands general usage.)
many thanks,
anthony
hi shockage, , welcome ubuntu forums.
not obvious me might wrong. curious though, because there first time poster trying same thing using same references also having troubles. so, in addition trying help, if able, trying figure out if made clearer or improved in references.
show iptables counters, can observe path packets taking?code:sudo iptables-save -c
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Networking & Wireless [ubuntu] (Routing/IPTables Help) Network Area Translation Script from Router Guide not working
Ubuntu
Comments
Post a Comment