I got an extra public IP from my internet provider. Basically I want to route traffic to and from that new IP to a specific computer on my local network.
I have tried all kind of different stuff and guides but it seems I can't get it right. Below is my setup
Both old and new public IP have been changed a bit to cover real addresses
Default Public IP (info from Quick Set page of the Mikrotik)
IP: 1.1.194.166
Netmask: 255.255.255.0 (/24)
Gateway: 1.1.194.1
New Public IP (info from internet provider)
Ip:2.2.98.206
Gateway: 2.2.98.193
Subnetmask: 255.255.255.192
[admin@MikroTik] > ip address print
Flags: X - disabled, I - invalid, D - dynamic
# ADDRESS NETWORK INTERFACE
0 ;;; defconf
192.168.5.1/16 192.168.0.0 ether2-master
1 D 1.1.194.166/24 1.1.194.0 ether1
2 2.2.98.206/26 2.2.98.192 ether1
Where #2 is made by me
[admin@MikroTik] > ip firewall nat print
Flags: X - disabled, I - invalid, D - dynamic
0 XI chain=srcnat action=masquerade src-address=192.168.5.15
out-interface=ether1 log=no
1 chain=srcnat action=src-nat to-addresses=2.2.98.206
src-address=192.168.5.15 out-interface=ether1 log=no
2 chain=dstnat action=dst-nat to-addresses=192.168.5.15
dst-address=2.2.98.206 in-interface=ether1 log=no
3 chain=srcnat action=src-nat to-addresses=1.1.194.166
src-address=192.168.5.0/24 log=no
4 XI ;;; defconf: masquerade
chain=srcnat action=masquerade out-interface=ether1 log=no log-prefix=""
Where #1,2 and 3 is made by me
[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 ADS 0.0.0.0/0 1.1.194.1 1
1 ADC 1.1.194.0/24 1.1.194.166 ether1 0
2 ADC 192.168.0.0/16 192.168.5.1 bridge 0
3 ADC 2.2.98.192/26 2.2.98.206 ether1 0
4 X S 2.2.98.192/26 2.2.98.206 2.2.98.193 1
5 S 2.2.98.206/32 192.168.5.15 2.2.98.193 1
Where #4 and 5 is made by me
My test PC using 192.168.5.1 can ping 192.168.5.1 but not 8.8.8.8