LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-15-2004, 06:17 PM   #1
reetep
Member
 
Registered: Oct 2003
Location: UK
Distribution: Debian
Posts: 122

Rep: Reputation: 15
translating an iptables command back to ipchains


I'm setting up a transparent proxy server on a home network. The ldp transparent proxy howto instructs me to add this to my firewall script. No problem - i can do iptables. Problem is, the proxy box is running a 2.2 kernel, so I need to be able to add this in ipchains language. I'm worried that if I learn ipchains, i'll get confused with my current knowledge of iptables! Would someone be willing to translate it for me?

iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 3128

apparently this will take 3 lines in ipchains - two further lines to prevent a loop.


Many thanks, Peter.
 
  


Reply



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 vs iptables ALInux Linux - Networking 1 11-14-2005 04:05 AM
I need to change a command from IpTables to IpChains mfeoli Linux - Networking 1 01-20-2005 02:28 PM
ipchains --> iptables lackluster Linux - General 3 05-29-2002 07:15 PM
Ipchains And Iptables d-rez Linux - Newbie 3 05-29-2002 12:55 PM
ipchains or iptables munisp Linux - Networking 6 12-15-2001 11:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:07 AM.

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