I love Tomato Router. I normally use the Shibby Firmware that has VPN options built in. Strange thing is when I enable the PPTP server option on the router some will work as normal. Others I have to add a script to open Port 1723. I troubleshooted the issue I had with a client by using nmap. Great utility to see what ports are open or not. When I ran nmap on the LAN side to the router port 1723 was open when PPTP server was enabled. When I ran in on the WAN side it was not. Sometimes your ISP will block 1723 but this was a business account and the ISP did not. I search online and found the answer.
In the Tomato Firmware go to Administration-Scripts-Firewall. Add the following script:
#!/bin/sh
iptables -A INPUT -p tcp –dport 1723 -j ACCEPT
iptables -t nat -I PREROUTING -p tcp –dport 1723 -j ACCEPT
iptables -I INPUT -p tcp –dport 1723 -j ACCEPT
Save and then reboot the router. (IMPORTANT before the dport on the 3 lines is a double dash. When copy and paste it will only make 1 so you will need to add the -)
Once I did this I tested nmap and port 1723 was then open. I could then connect to my VPN server.
Recent Comments