Here’s a step-by-step guide to configure LAN2 (Port 2) on your MikroTik router to route all traffic through your VPN while keeping other ports on the default Comcast route.
Step 1: Configure the VPN Client on Your Chicago MikroTik
- Open WinBox and connect to your MikroTik router.
- Go to PPP > Interface > Click + and select L2TP Client (or another VPN type your server uses).
- In the new window:
- Name:
VPN
- Connect To:
VPN IP
- User: (Enter your VPN username)
- Password: (Enter your VPN password)
- Use Peer DNS: Yes
- Add Default Route: No (We will set routes manually)
- Name:
- Click Apply and OK.
Step 2: Set Up LAN2 as a Separate Network
- Go to IP > Addresses > Click + to add a new address.
- Address:
192.168.8.1/24
- Interface:
ether2
(LAN2) - Click Apply and OK.
- Address:
- Go to IP > DHCP Server > Click DHCP Setup.
- Select ether2 and follow the wizard:
- Network:
192.168.8.0/24
- Gateway:
192.168.8.1
- DNS:
8.8.8.8, 8.8.4.4
(or your VPN DNS) - Lease Time:
1h
- Network:
- Select ether2 and follow the wizard:
- Click Apply and OK.
Step 3: Configure Routing Rules
- Go to IP > Firewall > Mangle > Click +.
- Chain:
prerouting
- Src. Address:
192.168.8.0/24
- Action:
mark-routing
- New Routing Mark:
vpn-route
- Click Apply and OK.
- Chain:
- Go to IP > Routes > Click +.
- Dst. Address:
0.0.0.0/0
- Gateway:
VPN
- Routing Mark:
vpn-route
- Click Apply and OK.
- Dst. Address:
Step 4: Ensure Other Ports Use Comcast Normally
- Go to IP > Firewall > Mangle > Click +.
- Chain:
prerouting
- Src. Address:
192.168.7.0/24
- Action:
mark-routing
- New Routing Mark:
wan-route
- Click Apply and OK.
- Chain:
- Go to IP > Routes > Click +.
- Dst. Address:
0.0.0.0/0
- Gateway:
Comcast (default route)
- Routing Mark:
wan-route
- Click Apply and OK.
- Dst. Address:
Step 5: Test and Verify
- Connect a device to LAN2 (Port 2).
- Check the assigned IP (
192.168.8.x
). - Go to https://whatismyipaddress.com/ and confirm it matches your VPN server’s IP (Ukraine).
- Connect a device to another port (e.g., Port 3) and check that it still uses Comcast.
Now, devices on LAN2 will use the VPN, while all other ports stay on Comcast. Let me know if you need further adjustments! 🚀