nick wrote:> Hi all. > > I am interested in connecting my Palm T1 to the internet through > Shorewall. I can set up a connection (with Bluetooth) to my Linux > machine, and with Shorewall turned off, I could set up my machine to > allow the Palm to access the internet with these commands : > > echo ''1'' >/proc/sys/net/ipv4/ip_forward > iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE > iptables -A FORWARD -i ppp1 -j ACCEPT. > > How do I set up Shorewall to do the equivalent of the above? > > I have assigned two ip addresses in the 192.168.0.x range to the palm > and pc respectively using DUND. >Please see http://shorewall.net/two-interface.htm. -Tom -- Tom Eastep \ Nothing is foolproof to a sufficiently talented fool Shoreline, \ http://shorewall.net Washington USA \ teastep@shorewall.net PGP Public Key \ https://lists.shorewall.net/teastep.pgp.key
Hi all. I am interested in connecting my Palm T1 to the internet through Shorewall. I can set up a connection (with Bluetooth) to my Linux machine, and with Shorewall turned off, I could set up my machine to allow the Palm to access the internet with these commands : echo ''1'' >/proc/sys/net/ipv4/ip_forward iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE iptables -A FORWARD -i ppp1 -j ACCEPT. How do I set up Shorewall to do the equivalent of the above? I have assigned two ip addresses in the 192.168.0.x range to the palm and pc respectively using DUND. Regards, Nick
Tom Eastep wrote:>nick wrote: > > >>Hi all. >> >>I am interested in connecting my Palm T1 to the internet through >>Shorewall. I can set up a connection (with Bluetooth) to my Linux >>machine, and with Shorewall turned off, I could set up my machine to >>allow the Palm to access the internet with these commands : >> >>echo ''1'' >/proc/sys/net/ipv4/ip_forward >>iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE >>iptables -A FORWARD -i ppp1 -j ACCEPT. >> >>How do I set up Shorewall to do the equivalent of the above? >> >>I have assigned two ip addresses in the 192.168.0.x range to the palm >>and pc respectively using DUND. >> >> >> > >Please see http://shorewall.net/two-interface.htm. > >-Tom > >Thanks for your reply, Tom. I had a look through the abovementioned article before I posted, but wasn''t sure if it related to the Palm. I''ll have another look through it! Regards, Nick.