Networking Forums

Networking Forums > Computer Networking > Linux Networking > iptables DNAT with MAC pool

Reply
Thread Tools Display Modes

iptables DNAT with MAC pool

 
 
NeCrOS
Guest
Posts: n/a

 
      08-09-2006, 10:10 PM

firewall : iptables v1.3.3

MACS : A - B , forward traffic without filter, direct internet access
MACS : D - E - F , POSTROUTING DNAT --to $APACHENAT, my DMZ

$IPTABLES -t nat -A PREROUTING -p TCP -i $WIRELESS_eth --dport 80 -m mac --
mac-source ! A_MAC -j DNAT --to $APACHE:80

$IPTABLES -t nat -A PREROUTING -p TCP -i $WIRELESS_eth --dport 80 -m mac --
mac-source ! B_MAC -j DNAT --to $APACHE:80

This no function !!!

HOW ????

a lot of thxs

--
--------------------------
FreE wOrlD = FrEe cOdE
By NeCrOS.
-------------------------
---------------------
------------------
---------------
------------
--------
-----
--
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
iptables, DNAT, and SMTP Brandon Linux Networking 6 03-11-2007 05:55 PM
iptables SNAT & DNAT won't accept name Ming-Ching Tiew Linux Networking 2 10-08-2004 07:37 AM
Iptables {DNAT,REDIRECT} Akede Linux Networking 1 10-07-2004 03:06 AM
iptables DNAT question Claudio Nieder Linux Networking 2 11-21-2003 07:51 PM
Iptables, Cisco 677, DNAT Eugene van Rooyen Linux Networking 0 08-10-2003 10:57 AM



1 2 3 4 5 6 7 8 9 10 11