Results 1 to 2 of 2
I have an adhoc network set up between an Arch computer connected to the internet and a Ubuntu laptop. I want to share the internet connection between the two. I ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 02-22-2011 #1
- Join Date
- Nov 2008
sudo iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE sudo sh -c "echo 1 > /proc/sys/net/ipv4/ip_forward"
sudo route add default gw 192.168.0.1 sudo sh -c "echo 'nameserver 188.8.131.52' >> /etc/resolv.conf"
- 02-22-2011 #2
please, could you report on ubuntu pct?:
iptables -t nat -nvL
iptables - nvL
(if you have previous iptables rules)
I think that the problem can be due to ifconfig on ubuntu and route.
RegardsThere are people trying to avoid mistakes and another that tries to target.