I Want Assign Mikrotik Public IP to Linux Local IP .
i have test ovpn beetween my mikrotik and my linux os . mikrotik to other contrie and my linux server to other ones . mikrotik public ip 111.111.111.111 linux os public ip 222.222.222.222
and ovpn range ip 1.1.1.0/24
after connect beetween mikrotik and linux my linux tun0 get ip 1.1.1.100
i want map 1.1.1.100 ip in my linux to secend public ip of mikrotik 333.333.333.333 and my linux sent and recive all trafic to 333.333.333.333 Except certain port example 9595 that connect to ovpn by 222.222.222.222 to ovpn and if see my ip in lynx echoip.com show 333.333.333.333
if my solotion is wrong please tell me to best solotion. tnx
this solotion for install cpanel on nat
because i have cpanel license on other ip and i want my server to my contry
in install cpanel on nat
/scripts/build_cpnat
tell me warn [build_cpnat] Unable to map 1.1.1.100
i want map my local ip tp mikrotik public ip over vpn