This is the info for my rb493g Router OS ver 5.14
"diagram at the bottom"
[admin@MikroTik] > ip address print
ADDRESS NETWORK BROADCAST INTERFACE
0 ;;; Wan
96.xx.xx.xx/30 96.xx.xx.xx 96.xx.xx.xx ether1
1 ;;; Lan
192.168.1.1/24 192.168.1.0 192.168.1.255 ether2
2 192.168.2.1/24 192.168.2.0 192.168.2.255 ether4
3 192.168.3.1/24 192.168.3.0 192.168.3.255 ether9
[admin@MikroTik] > ip firewall nat print
Flags: X - disabled, I - invalid, D - dynamic
0 chain=srcnat action=masquerade src-address=192.168.1.0/24
dst-address=0.0.0.0/0 out-interface=ether1
1 chain=dstnat action=netmap to-addresses=192.168.1.10 to-ports=80
protocol=tcp dst-address=96.xx.xx.xx dst-port=80
2 chain=srcnat action=masquerade src-address=192.168.2.0/24
dst-address=0.0.0.0/0 out-interface=ether1
3 chain=dstnat action=netmap to-addresses=192.168.2.20 to-ports=8080
protocol=tcp dst-address=96.xx.xx.xx dst-port=8080
4 chain=srcnat action=masquerade src-address=192.168.3.0/24
dst-address=0.0.0.0/0 out-interface=ether1
5 chain=dstnat action=netmap to-addresses=192.168.3.30 to-ports=0-65535
protocol=tcp dst-address=96.xx.xx.xx
[admin@MikroTik] > ip route print
Flags: X - disabled, A - active, D - dynamic,
C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme,
B - blackhole, U - unreachable, P - prohibit
DST-ADDRESS PREF-SRC GATEWAY DISTANCE
0 A S 0.0.0.0/0 ether1 1
1 ADC 96.xx.xx.xx/30 96.xx.xx.xx ether1 0
2 ADC 192.168.1.0/24 192.168.1.1 ether2 0
3 ADC 192.168.2.0/24 192.168.2.1 ether4 0
4 ADC 192.168.3.0/24 192.168.3.1 ether9 0
[admin@MikroTik] >
DST-ADDRESS PREF-SRC GATEWAY DISTANCE
0 A S 0.0.0.0/0 ether1 1
1 ADC 96.xx.xx.xx/30 96.xx.xx.xx ether1 0
2 ADC 192.168.1.0/24 192.168.1.1 ether2 0
3 ADC 192.168.2.0/24 192.168.2.1 ether4 0
4 ADC 192.168.3.0/24 192.168.3.1 ether9 0
I want to be able to access the second web server from the outside and the application server.
the first server on ether2 port 80 is working fine.
How do I setup the rules for the other two servers.
I look everywhere for some info on how to set up more than one web server facing the outside.
I want the traffic to be directed to the proper place either server1, server2 or the application server.
Thank You.
