These are the rules that I have added to my firewall. I remarked out the access to LAN area of the DMZ rule set. I did not see a purpose for that rule(my lan does not need access to my PS2 or the DMZ). I connected my laptop and configured it with the 192.168.5.10 to simulate the PS2 and I can ping a domain by name successfully, the ip address of the domain successfully but when I try and access the internet it just hangs. I am wondering if traffic is not being allowed back into my network!
PS2_IFACE=eth1
PS2_IP=192.168.5.1/28
PS2=192.168.5.10
PHP Code:
$IPTABLES -A INPUT -p ALL -i $PS2_IFACE -d $PS2_IP -j ACCEPT
$IPTABLES -t nat -A PREROUTING -p TCP -i $EXT_IFACE -d $PS2_IP --dport 1:65353 \
-j DNAT --to-destination $PS2
$IPTABLES -A FORWARD -i $PS2_IFACE -o $EXT_IFACE -j ACCEPT
$IPTABLES -A FORWARD -i $EXT_IFACE -o $PS2_IFACE -m state \
--state ESTABLISHED,RELATED -j ACCEPT
#$IPTABLES -A FORWARD -i $LAN_IFACE -o $DMZ_IFACE -j ACCEPT
#$IPTABLES -A FORWARD -i $DMZ_IFACE -o $LAN_IFACE -j ACCEPT
$IPTABLES -A FORWARD -p TCP -i $EXT_IFACE -o $PS2_IFACE -d $PS2 \
--dport 1:65353 -j allowed
$IPTABLES -A FORWARD -p UDP -i $EXT_IFACE -o $PS2_IFACE -d $PS2 \
--dport 1:65353 -j allowed