View the Most Wanted LQ Wiki articles.
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 01-15-2007, 08:50 PM   #1
Registered: Oct 2005
Location: China
Distribution: ArchLinux
Posts: 103

Rep: Reputation: 15
how to write this firewall rule ?

I want to use havp in transparent mode, and I googled some advices.
I must write a firewall rule like:
iptables -t nat -A PREROUTING -p tcp -s --dport 80 -j REDIRECT --to-port 8080
But I use pfctl in FreeBSD. how to write this?
Old 01-15-2007, 10:56 PM   #2
LQ Newbie
Registered: Mar 2005
Location: Montreal
Distribution: Slackware 11
Posts: 9

Rep: Reputation: 0
Hi man,

Read that:

and pay special attention to rdr translation ;-)

good luck


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
need help: write udev rule for LIRC, digital setopbox NoMoreReinstallMS Linux - Hardware 0 11-24-2006 04:05 PM
How should I write the iptables rule for Samba? Xstar Linux - Networking 2 02-11-2006 06:24 AM
APF Firewall Rule Help embsupafly Linux - Security 1 03-09-2005 12:00 AM
Need A Firewall Rule linuxboy69 Linux - Software 1 11-26-2003 05:29 PM
Help me write iptable rule to LOG gpagedar Linux - Security 1 10-01-2003 07:47 AM

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