Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Slackware 13.1, Mint, Ubuntu, Linux since ~1998
Posts: 60
Rep:
My Slackwarebox won't masqerade
I'm running Slackware 10.0 as server but my lan cant connect internet. (
I have used Guardog and Guidedog to install firewall/masquerad and everything works fine from the server but from lan it's just possible to reach the server.
I checked route...
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.3.0 * 255.255.255.0 U 0 0 0 eth1
80.68.113.0 * 255.255.255.0 U 0 0 0 eth0
loopback * 255.0.0.0 U 0 0 0 lo
default 80.68.113.1.kar 0.0.0.0 UG 0 0 0 eth0
Not sure if Slackware is the same as the other distros but on the server try typing
echo 1 > /proc/sys/net/ipv4/ip_forward to turn on IP forwarding for your clients.
Then make sure NAT is enabled using
iptables -t nat -A POSTROUTING -o interface_name -j MASQUERADE
Add the appropriate default gateways to the server and clients.
Distribution: Slackware 13.1, Mint, Ubuntu, Linux since ~1998
Posts: 60
Original Poster
Rep:
The clients are Win Xp, Win 98 Mandrake and Slackware...
They are not changed since they run at my Mandrake-server which I have run in a couple of years..
I run DHCP at eth0 from my ISP karlsborg... therefor the .kar
I dont know if it make some sense and how I can remove it. I'll look at that.
Distribution: Slackware 13.1, Mint, Ubuntu, Linux since ~1998
Posts: 60
Original Poster
Rep:
hmm.. when I dont have access to the linuxclients, is it possible to run traceroute from windows... ??
from windowsclient I can ping the server, both eth0 and eth1 but I cant ping anything else..
Distribution: Slackware 13.1, Mint, Ubuntu, Linux since ~1998
Posts: 60
Original Poster
Rep:
It does nothing.. it looks like it dont se any dns-server.
if I run tracert 80.68.113.230 it gives me som lines but if I run tracert www.something.something it tells (translated from swedish)
It wasnt able to consider target hostname kruthuset.se.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.