Latest LQ Deal: Linux Power User Bundle
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 08-29-2009, 10:36 AM   #1
LQ Newbie
Registered: Aug 2009
Distribution: Debian
Posts: 8

Rep: Reputation: 1
Question iptables firewall problem

Hi all!

I've got some routing issue with my debian lenny system. I have iptables installed, and i wrote my firewall script. The system has two ethernet interfaces, and a ppp0 interface for the ADSL. The eth0 is connected to the local network, and i have a dhcp server set up for it. Untill this morning the internet connection sharing worked fine, and now it doesnt. I just cannot understand what is going on. Everything else in the firewall script is working fine except this function.
As far as i remember i didn't change any config files... And i don't have a clue what happened.

In my firewall script this is the section about masquerading:
if [ -e /proc/sys/net/ipv4/ip_forward ]; then
	echo 1 > /proc/sys/net/ipv4/ip_forward
$IPT -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu
If you can help me and need further details, let me know what they are.
Old 08-29-2009, 02:12 PM   #2
LQ Newbie
Registered: Aug 2009
Distribution: Debian
Posts: 8

Original Poster
Rep: Reputation: 1
solved! There was no problem with my script. I just made a mistake in the dhcpd.conf file...
Old 08-29-2009, 02:15 PM   #3
LQ Guru
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
Nice work -- always gratifying to find the solution on ones' own

You can mark your thread [solved] using "Thread Tools" at the top.

Old 08-29-2009, 02:31 PM   #4
LQ Newbie
Registered: Aug 2009
Distribution: Debian
Posts: 8

Original Poster
Rep: Reputation: 1
thanks for the information, i will...



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
iptables firewall routing problem robbtek Linux - Networking 3 03-27-2009 10:17 PM
IPtables/Firewall problem guygriffiths Linux - Security 2 11-21-2003 08:16 AM
iptables internet to firewall problem. remigus Linux - Networking 2 09-29-2003 02:27 PM
Firewall Rules Problem with Iptables JereBear Linux - Networking 1 06-16-2002 05:28 PM
Strange iptables firewall problem. Bomber Linux - Security 5 01-15-2002 07:33 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:33 PM.

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