LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 01-15-2007, 07:50 PM   #1
naihe2010
Member
 
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:
Code:
iptables -t nat -A PREROUTING -p tcp -s 192.168.0.0/24 --dport 80 -j REDIRECT --to-port 8080
But I use pfctl in FreeBSD. how to write this?
 
Old 01-15-2007, 09:56 PM   #2
freealx
LQ Newbie
 
Registered: Mar 2005
Location: Montreal
Distribution: Slackware 11
Posts: 9

Rep: Reputation: 0
Hi man,

Read that:
http://netbsd.gw.com/cgi-bin/man-cgi...NetBSD-current

and pay special attention to rdr translation ;-)

good luck
 
  


Reply


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


All times are GMT -5. The time now is 01:13 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration