Firewall

From MikroTik Wiki
Revision as of 05:30, 8 May 2008 by Wg105 (talk | contribs) (See also)
Jump to: navigation, search

See also

Forward to a Winbox trough Linux Public IP

Linux.JPG


Forward to a Winbox trough Linux Public IP

When you want access to winbox without Routerboard have a public IP, it is a simple example


IPTABLES linux

/sbin/iptables -t nat -I PREROUTING -p tcp -d PUBLIC_IP --dport 8291 -j DNAT --to IP_INTERNAL_ROUTERBOARD:8291

Now you test the rules Iptables </pre>iptables –t nat -L

DNAT tcp -- anywhere PUBLIC_IP tcp dpt:8291 to: IP_INTERNAL_ROUTERBOARD:8291</pre>


Now you introduce public IP in the winbox simple and easy