All pastes #938460 Raw Edit

Miscellany

public text v1 · immutable
·published 2008-03-11 17:38 UTC
rendered paste body
## Port Forwarding DREAMBOX
## -- This forwards port 4444 and 4550 on the WAN to port 4444 and 4550 on 192.168.1.5

iptables -t nat -A prerouting_rule -i $WAN -p udp --dport 4444 -j DNAT --to-destination 192.168.1.5
iptables        -A forwarding_rule -i $WAN -p udp --dport 4444 -d 192.168.1.5 -j ACCEPT

iptables -t nat -A prerouting_rule -i $WAN -p udp --dport 4550 -j DNAT --to-destination 192.168.1.5
iptables        -A forwarding_rule -i $WAN -p udp --dport 4550 -d 192.168.1.5 -j ACCEPT