So I thought I could do it on my own, but I am stumped. I have gone back and forth between a lot of setups, but as of right now I have “Router 1” connect to my home server using PPTP. My home network can ping “Router 1” and both “Computer A” and “Computer B” can ping everything on my home network.
The catch is that “Computer A” and “Computer B” can’t connect to anywhere on the internet. I imagine this is because I need to setup another route, but I can’t seem to be able to talk to the internet and intranet at the same time. When I fix one I break the other and vice versa.
And changing my original plan a little, I realized I only need to talk with one computer behind each router. So I was thinking port forwarding or using something like a DMZ. Port 80 (or any port for that matter) (connecting from PPTP) I would want to go to the router so I could remotely configure it and all the other ports I would want to go to a computer behind the MikroTik router. I tried to follow some examples to set up a dstnat and a srcnat, but it didn’t work. They are listed below but disabled.
To be able to ping my internal network I found that I had to enable “arp-proxy” on the “ether2-master-local” interface.
Any help in setting up the DMZ or port forwarding as well as routing to the internet would be greatly appreciated.
/ip interface
[admin@MikroTik] /interface> print
Flags: D - dynamic, X - disabled, R - running, S - slave
# NAME TYPE MTU L2MTU MAX-L2MTU
0 R wlan1 wlan 1500 2290
1 X ether1-gateway ether 1500 1600 4076
2 R ether2-master-local ether 1500 1598 2028
3 R ether3-slave-local ether 1500 1598 2028
4 R ether4-slave-local ether 1500 1598 2028
5 ether5-slave-local ether 1500 1598 2028
6 R bridge-local bridge 1500 1598
7 R pptp-out1 pptp-out 1400
Here are my routes.
xxx.xxx.xxx.xxx- Is the public IP address of my home network with the PPTP server running
192.168.1.2 Is the IP that the currently connected wireless access point is giving out via DHCP. This address and range will change depending on what WiFi network I am connected to.
10.242.1.2- Assigned via the PPTP Server
192.168.101.x- Is the range that my internal network uses.
192.168.88.1- Is the internal IP of the MikroTik router
[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 192.168.1.1 1
1 DS 0.0.0.0/0 10.242.1.1 1
2 ADC 10.242.1.1/32 10.242.1.2 pptp-out1 0
3 A S xxx.xxx.xxx.xxx/32 192.168.1.1 1
4 ADC 192.168.1.0/24 192.168.1.2 wlan1 0
5 ADC 192.168.88.0/24 192.168.88.1 bridge-local 0
6 A S 192.168.101.0/24 10.242.1.1 1
And my /ip firewall nat configuration
[admin@MikroTik] /ip firewall nat> print
Flags: X - disabled, I - invalid, D - dynamic
0 ;;; default configuration
chain=srcnat action=masquerade out-interface=pptp-out1
1 X chain=dstnat action=dst-nat to-addresses=192.168.88.250
dst-address=10.242.1.2
2 X chain=srcnat action=masquerade src-address=192.168.88.250
/ip firewall filter
[admin@MikroTik] /ip firewall filter> print
Flags: X - disabled, I - invalid, D - dynamic
0 chain=input action=accept protocol=tcp in-interface=pptp-out1 dst-port=80
1 ;;; default configuration
chain=input action=accept protocol=icmp
2 ;;; default configuration
chain=input action=accept connection-state=established
in-interface=wlan1
3 ;;; default configuration
chain=input action=accept connection-state=related in-interface=wlan1
4 ;;; default configuration
chain=input action=drop in-interface=wlan1