Michael Whitman on Wed, 1 May 2002 17:30:20 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[PLUG] iptables question


I want to make http port 80 accessible only to a certain range of ips (like 232.232.***.***)

/sbin/iptables -t nat -A PREROUTING -p tcp --dport 80 -i eth0 -j DNAT --to 192.16\
8.1.69:80


what do i need to add to that statement?

Also I see you can limit by MAC address, I couldnt get that to work. Anyone ever done that?

-Mike


______________________________________________________________________ Philadelphia Linux Users Group - http://www.phillylinux.org Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce General Discussion - http://lists.phillylinux.org/mail/listinfo/plug