Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 04-23-2004, 04:29 PM   #1
Registered: Mar 2004
Location: SJ, Costa Rica
Distribution: Slackware
Posts: 34

Rep: Reputation: 15
windows clients have access to the internet, linux ones don't

Hi people...
Few weeks ago I ask this same question, but so far I can't find the answer.
I have the following iptables rules in a Redhat box:

modprobe iptable_filter
modprobe iptable_nat
modprobe ipt_MASQUERADE
modprobe ipt_state
iptables -t nat -A POSTROUTING -o eth1 -j SNAT --to <public_ip>
iptables -A INPUT -i eth1 -p tcp --dport 8028 -m state --state NEW -j ACCEPT
iptables -A INPUT -i eth0 -p tcp --dport 8028 -m state --state NEW -j ACCEPT
iptables -t nat -A PREROUTING -i eth1 -p tcp --dport 8028 -j DNAT --to <internal_ip>:8028
iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE
iptables -A FORWARD -i eth0 -j ACCEPT

I'm filtering all incoming packages through the 8028 port to an internal machine,
that works ok, no problem with this...
Also I'm trying to give internet access to several clients through maquerading,
all my windows machines have www,msn,irc,ftp etc... access but my linux client don't.
Is there some problem with my rules?...
when I do a cat /proc/net/ip_conntrack I receive the following about the linux clients:

udp 17 28 src= dst= sport=138 dport=138 [UNREPLIED] src= dst= sport=138 dport=138 use=1

or something similar...
any help would be appreciated..
Old 04-28-2004, 07:21 PM   #2
Registered: Sep 2002
Location: Reconquista
Distribution: RedHat, Fedora
Posts: 38

Rep: Reputation: 15
Hi. Please send more details about your linux box:

-- route
-- ifconfig



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to access windows Network and Internet from Linux indian Linux - Networking 1 09-09-2004 01:32 PM
No internet access in linux, works fine in windows c0uchm0nster Linux - Networking 8 01-29-2004 06:45 AM
Internet Browsing via IP MASQUERADE very slow on Windows clients digihall7 Linux - Networking 13 10-28-2003 05:14 AM
how to make linux as webserver and other windows as clients for browsing the internet halovivek Linux - Networking 3 09-01-2003 10:29 AM
windows 2000 clients & redhat 8 router internet issues estranged0877 Linux - Networking 4 02-11-2003 11:11 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:09 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration