Buna ,
Stie cineva cum pot se poate seta port forwarding in routerul mai sus mentionat?
Am openwrt pe router
Printable View
Buna ,
Stie cineva cum pot se poate seta port forwarding in routerul mai sus mentionat?
Am openwrt pe router
in etc/firewal.user
Sursa cu detalii [Only registered and activated users can see links. Click Here To Register...]Code:# This file is interpreted as shell script.
# Put your custom iptables rules here, they will
# be executed with each firewall (re-)start.
### Open port to WAN
## -- This allows port 22 to be answered by (dropbear on) the router
iptables -t nat -A prerouting_wan -p tcp --dport 22 -j ACCEPT
iptables -A input_wan -p tcp --dport 22 -j ACCEPT
## -- This allows port 12000 to be answered by (dropbear on) the router
iptables -t nat -A prerouting_wan -p tcp --dport 12000 -j ACCEPT
iptables -A input_wan -p tcp --dport 12000 -j ACCEPT
by @resofty