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 07-19-2001, 04:22 PM   #1
LQ Newbie
Registered: Jun 2001
Posts: 2

Rep: Reputation: 0
Need help on ipchains->iptables

I have used RH7.0 kernel 2.2 on my home network firewall between my ISPīs ADSL and my private network. Itīs an old pentium with two nicīs where eth0 is LAN (, and eth1(dhcp)is facing internet. this is the lines i have added in rc.local:
/sbin/ipchains -F input
/sbin/ipchains -F forward
/sbin/ipchains -F output
/sbin/ipchains -P forward DENY
/sbin/ipchains -A forward -s -j MASQ
/sbin/modprobe ip_masq_ftp
/sbin/modprobe ip_masq_raudio
echo 1 > /proc/sys/net/ipv4/ip_forward
This have worked just fine!
Now i want to use RH7.1 kernel 2.4 and iptables.
What should i replace these lines with in order to get the same results with 2.4?
Thanks in advance!
Staffan Lindfors Falun, Sweden


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
IPCHAINS to IPTABLES slinkyredfoot Linux - Networking 2 05-24-2004 04:33 AM
ipchains and iptables both? puzz_1 Linux - General 7 05-29-2003 03:07 PM
ipchains ---> iptables jetfreggel Linux - Networking 2 11-10-2002 02:05 PM
IPCHAINS vs. IPTABLES sancho5 Linux - Networking 5 08-26-2001 07:01 PM
Ipchains vs iptables Vetle Linux - Security 1 08-22-2001 08:20 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:26 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