JerryMungo
Honorary Master
- Joined
- Jul 18, 2008
- Messages
- 37,576
- Reaction score
- 6,338
So I have port forwarding working on my routerboard... I want port 8080 tcp forwarded to my internal server at address 192.168.0.1
The command I used is:
The trouble is it forwards port 8080 from internal to external as well, so when I'm trying to access port 8080 on an external server, I can't get out. If I remove or disable the port forward rule, it works again. Anyone know how to specify incoming traffic via ether1-gateway only for the rule?
The command I used is:
Code:
/ip firewall nat add chain=dstnat protocol=tcp dst-port=8080 action=dst-nat to-addresses=192.168.0.8 to-ports=8080
The trouble is it forwards port 8080 from internal to external as well, so when I'm trying to access port 8080 on an external server, I can't get out. If I remove or disable the port forward rule, it works again. Anyone know how to specify incoming traffic via ether1-gateway only for the rule?