Hi
I have mikrotik router CRS326-24S+2Q.
On this router I have already configuration of network from interface ether1 and SSTP VPN on port 444.
Now I have connected second wan cable to it, from my second isp provider, it's pppoe connection.
At this point I have interface ether1 (current wan connection - static address, it's working fine), I have connected second wan, that should be authenticated by pppoe, it's visible as ether0 (already created pppoe-out1 and it's authenticated correct), and I have interface ether2 this is my lan network. On my hosting I have redirect 2 domains vpn1.comapny.com to ip from first IPS (ether1) and vpn2.company.com this is pointing to external ip from second IPS (ether0). Now what I need is:
1. when connecting to vpn1.comapny.com:444 it should go by ether1
2. when connecting to vpn2.comapny.com:444 it should go by ether0
This is for VPN Only, all other traffic should work like to this point, by ether1.
I have tried to make masquerade, NAT rules, etc, but at this point I'm stuck.
I will be thankful for any idea, what can I do to set this up.
I have mikrotik router CRS326-24S+2Q.
On this router I have already configuration of network from interface ether1 and SSTP VPN on port 444.
Now I have connected second wan cable to it, from my second isp provider, it's pppoe connection.
At this point I have interface ether1 (current wan connection - static address, it's working fine), I have connected second wan, that should be authenticated by pppoe, it's visible as ether0 (already created pppoe-out1 and it's authenticated correct), and I have interface ether2 this is my lan network. On my hosting I have redirect 2 domains vpn1.comapny.com to ip from first IPS (ether1) and vpn2.company.com this is pointing to external ip from second IPS (ether0). Now what I need is:
1. when connecting to vpn1.comapny.com:444 it should go by ether1
2. when connecting to vpn2.comapny.com:444 it should go by ether0
This is for VPN Only, all other traffic should work like to this point, by ether1.
I have tried to make masquerade, NAT rules, etc, but at this point I'm stuck.
I will be thankful for any idea, what can I do to set this up.
Statistics: Posted by KrisDP — Thu Mar 13, 2025 2:23 pm