#### begin port forwarding rules ####
# each port forward needs corresponding forward in the vpn server
-config redirect
- option name ssh
- option src wan
- # example of using a non-standard port
- # and comment out the 22 port line
- # option src_dport 63321
- # option dest_port 22 # already default
- option src_dport 22
- option dest_ip 192.168.1.2
- option dest lan
-config rule
- option src wan
- option target ACCEPT
- option dest_port 22
config redirect
-# http server
- # for https
- # config redirect
- # option src wan
- # option src_dport 443
- # option dest lan
- # option dest_ip 192.168.1.2
- # option proto tcp
-
- # config rule
- # option src wan
- # option target ACCEPT
- # option dest_port 443
- # option proto tcp
-
- # config redirect
- # option src wan
- # option src_dport 80
- # option dest lan
- # option dest_ip 192.168.1.2
- # option proto tcp
-
- # config rule
- # option src wan
- # option target ACCEPT
- # option dest_port 80
- # option proto tcp
-
#### end port forwarding rules ####