assalamualaikum.

ada sesiapa yang ada sample iptables untuk 3 NIC firewall?

saya ada masalah untuk configure supaya LAN boleh access ke DMZ

berikut info:

WAN_IFACE=eth0
LAN_IFACE=eth1
DMZ_IFACE=eth2

WAN_IP=192.168.1.2 , netmask = 255.255.255.0 , gateway = 192.168.1.1
LAN_IP=192.168.2.1, netmask = 255.255.255.0 , gateway none
DMZ_IP=192.168.3.1, netmask = 255.255.255.0 , gateway none

laptop IP=192.168.2.200, netmask = 255.255.255.0, gateway = 192.168.2.1
webserver IP=192.168.3.15 , netmask = 255.255.255.0 , gateway = 192.168.3.1

saya configure

iptables --append FORWARD --source 192.168.2.0/24 --destination
192.168.3.0/24 --match state --state NEW,ESTABLISHED,RELATED --protocol tcp
--destination-port 80 -j ACCEPT
iptables --append FORWARD --source 192.168.3.0/24 --destination
192.168.2.0/24 --match state --state ESTABLISHED,RELATED --protocol tcp
--source-port 80 -j ACCEPT

tapi tak boleh browse web server yang dok kat 192.168.3.15 tu...


ada cadangan?



-- 
Sharuzzaman Ahmat Raslan

-- 
To unsubscribe from and detail about this group 
http://portal.mosc.my/osdc-my-mailing-list-information

OSDC.my Discussion Group In Facebook
http://www.facebook.com/groups/osdcmalaysia/

Malaysia Open Source Conference 2012
MOSC2012 http://portal.mosc.my/

Kirim email ke