Skip to contentSkip to conversation

help...

DISCUSSION Cristiano Soares 3 participants 3 messages Dec 14, 2003 – Dec 17, 2003

lore
Share & tools
lore
#0 lore raw

Hi, i would like to know if u guys could help me with a simple problem that im having trying to set up a network server. I have DSL conection and im sharing it with a network. I had set up the DHCPD server, all the DHCP clients in my network can receive an IP from the server, but they cant browse. I know that there as some lines that i have to set up to make de server allow the clients to browser normaly. and i also know that it has something to do with iptables, and maskarading. Please, i need help doing this. I have MSN and ICQ if anyone would like to help me. I have SSH server running also. please, please, i need help. Thanks a lot.

MSN: [email protected]
ICQ #: 3794264

Ass.: Cristian Soares

#1 lore raw

Start off by giving us your existing rules?
----- Original Message -----
From: "Cristiano Soares" <[email protected]>
To: <[email protected]>
Sent: Sunday, December 14, 2003 5:30 PM
Subject: help...

Hi, i would like to know if u guys could help me with a simple problem that im having trying to set up a network server. I have DSL conection and im sharing it with a network. I had set up the DHCPD server, all the DHCP clients in my network can receive an IP from the server, but they cant browse. I know that there as some lines that i have to set up to make de server allow the clients to browser normaly. and i also know that it has something to do with iptables, and maskarading. Please, i need help doing this. I have MSN and ICQ if anyone would like to help me. I have SSH server running also. please, please, i need help. Thanks a lot.

MSN: [email protected]
ICQ #: 3794264

Ass.: Cristian Soares

#2 lore raw
Quoted 7 lines · Ian Hunter

Start off by giving us your existing rules?
----- Original Message -----
From: "Cristiano Soares" <[email protected]>
To: <[email protected]>
Sent: Sunday, December 14, 2003 5:30 PM
Subject: help...

Quoted 9 lines

Hi, i would like to know if u guys could help me with a simple problem that im having trying to set up a network server. I have DSL conection and im sharing it with a network. I had set up the DHCPD server, all the DHCP clients in my network can receive an IP from the server, but they cant browse. I know that there as some lines that i have to set up to make de server allow the clients to browser normaly. and i also know that it has something to do with iptables, and maskarading. Please, i need help doing this. I have MSN and ICQ if anyone would like to help me. I have SSH server running also. please, please, i need help. Thanks a lot.

Sounds like this guy simply needs to know:

iptables -A POSTROUTING -o $EXTIF -j MASQUERADE iptables -A FORWARD -m state --state ESTABLISHED,RELATED -j ACCEPT iptables -A FORWARD -i $INTIF -o $EXTIF -j ACCEPT

If that doesn't do the trick then yes, post your existing ruleset and tell us what works and what doesn't (and how you're testing it).

Antony.

Signature · 5 lines
Abandon hope, all ye who enter here.
You'll feel much better about things once you do.

                                                     Please reply to the list;
                                                           please don't CC me.