Results 1 to 2 of 2
I'm trying to share internet from my laptop to my t2000 server. I'm running slackware 14 on the laptop, solaris 11 on server. Laptop is connected to internet via wlan0, ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 10-12-2013 #1
- Join Date
- Jul 2007
No internet connection with masquerade on iptables
I've done this on the laptop:
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
I have my laptop eth0 set at 192.168.200.105, netmask 255.255.255.0
T2000 set at 192.168.200.100, netmask 255.255.255.0, default route 192.168.200.105, and nameserver 184.108.40.206.
The thing is I have ports 22 and 80 forwarded to my server, and I can ssh into it from an outside network. But I try pinging google.com on it, and it won't reach it. I dont understand why it can't get internet access, but yet I can ssh into it and access it from outside the network. Any ideas?
- 10-13-2013 #2
- Join Date
- Oct 2013
Stop being so mysterious; show us your laptop's firewall! Your problem seems reminiscent of a forwarding problem, but if you're using Slackware something that simple shouldn't be stoping who.