DD-WRT VPN setup for Tomato

2 posts / 0 new
Last post
Mico
Mico's picture
DD-WRT VPN setup for Tomato

Can someone help me? When I used to have DD-WRT, I made this instructions work. Then I switched to Tomato again and now I cannot set it although it says it can be done. Can someone please tell me how? Thanks!

 

  1. Make sure your router support OpenVPN, and that is DD-WRT supported.
  2. Download the config and script files
  3. Go to the Commands on your router web interface (Administration tab -> Commands).
  4. Copy/paste the entire content of the downloaded file to the Command Shell field
  5. Replace your@email.address and VPNPassword with your VPN username and password.
  6. Press Save Startup to save the datas to the router.
  7. On the Setup, Basic Setup tab, on the Network Address Server Settings (DHCP), change the Static DNS 1 and Static DNS 2 to 8.8.8.8 and 8.8.4.4
  8. Reboot router (Management tab -> Reboot Router button)
  9. After reboot the router is ready to connect. Go to the Commands and type: /tmp/ibvpn/vpn start aaa.bbb.ccc.ddd (replace aaa.bbb.ccc.ddd with the server IP you want to connect.). Press Run Commands to connect.
  10. To disconnect type: /tmp/ibvpn/vpn stop

 

TomatoUSB router seems to support OpenVPN also. The only modificatios needed is a "modprobe tun.ko" line at the begining of the startup script. We did not tested this but we have positive feedbacks from users.

Mico
Mico's picture
This is the log:

This is the log:

Jan 26 16:16:49 unknown daemon.err openvpn[922]: Options error: Unrecognized option or missing parameter(s) in config.ovpn:16: modprobe (2.1.1)
Jan 26 16:16:49 unknown daemon.warn openvpn[922]: Use --help for more information.
Jan 26 16:36:33 unknown daemon.err openvpn[933]: Options error: Unrecognized option or missing parameter(s) in config.ovpn:16: modprobe (2.1.1)
Jan 26 16:36:33 unknown daemon.warn openvpn[933]: Use --help for more information.
Jan 26 16:37:28 unknown daemon.err openvpn[951]: Options error: Unrecognized option or missing parameter(s) in config.ovpn:17: modprobe (2.1.1)
Jan 26 16:37:28 unknown daemon.warn openvpn[951]: Use --help for more information.
Jan 26 16:39:02 unknown daemon.err openvpn[965]: Options error: Unrecognized option or missing parameter(s) in config.ovpn:17: modprobe (2.1.1)
Jan 26 16:39:02 unknown daemon.warn openvpn[965]: Use --help for more information.
Jan 26 16:39:23 unknown daemon.err openvpn[980]: Options error: Unrecognized option or missing parameter(s) in config.ovpn:17: modprobe (2.1.1)
Jan 26 16:39:23 unknown daemon.warn openvpn[980]: Use --help for more information.
Jan 26 16:39:33 unknown daemon.err openvpn[991]: Options error: Unrecognized option or missing parameter(s) in config.ovpn:17: modprobe (2.1.1)
Jan 26 16:39:33 unknown daemon.warn openvpn[991]: Use --help for more information.
Jan 26 16:40:37 unknown daemon.err openvpn[1003]: Options error: Unrecognized option or missing parameter(s) in config.ovpn:18: modprobe (2.1.1)
Jan 26 16:40:37 unknown daemon.warn openvpn[1003]: Use --help for more information.
Jan 26 16:41:49 unknown daemon.err openvpn[1015]: Options error: Unrecognized option or missing parameter(s) in config.ovpn:18: modprobe (2.1.1)
Jan 26 16:41:49 unknown daemon.warn openvpn[1015]: Use --help for more information.
Jan 26 16:42:29 unknown daemon.err openvpn[1034]: Options error: Unrecognized option or missing parameter(s) in config.ovpn:22: modprobe (2.1.1)
Jan 26 16:42:29 unknown daemon.warn openvpn[1034]: Use --help for more information.
Jan 26 16:43:23 unknown daemon.err openvpn[1046]: Options error: Unrecognized option or missing parameter(s) in config.ovpn:22: modprobe (2.1.1)
Jan 26 16:43:23 unknown daemon.warn openvpn[1046]: Use --help for more information.
Jan 26 16:45:28 unknown daemon.err openvpn[1085]: Options error: Unrecognized option or missing parameter(s) in config.ovpn:22: modprobe (2.1.1)
Jan 26 16:45:28 unknown daemon.warn openvpn[1085]: Use --help for more information.
Jan 26 17:00:01 unknown syslog.info root: -- MARK --
Jan 26 17:03:13 unknown daemon.err openvpn[1150]: Options error: Unrecognized option or missing parameter(s) in config.ovpn:22: modprobe (2.1.1)
Jan 26 17:03:13 unknown daemon.warn openvpn[1150]: Use --help for more information.