- Luci : Network – Firewall – Port Forwards
- CLI : /etc/config/firewall
Luci 는 그냥 보면 알 수 있을 정도이긴 한데, Source 를 WAN 으로, Destination 을 LAN 으로 하고, External Port 를 설정한 뒤, 이 포트에서 오는 신호를 받을 내부 기기 IP 와 포트를 정해준다.
/etc/config/firewall 설정은 다음과 같다.
config redirect option target 'DNAT' option src 'wan' option dest 'lan' option proto 'tcp' option src_dport '11111' option dest_port '6837' option name 'port_set' option dest_ip '192.168.0.33'
Luci 는 Save & Apply 를 해주면 되고, CLI 에선 /etc/init.d/firewall restart
면 충분하다.
thanks! it is helpful!
You’re welcome.
But.. How did you read this? Through translator?
Anyway you’re the first one who left a note in other than Korean.