iqRouter does not recognize VPN server

  • 1
  • Question
  • Updated 2 years ago
  • Answered
I have been running a Raspberry Pi VPN server for some time with no problems.  I recently changed routers from Netgear to an IQrouter.  The IQrouter does not recognize the presence of the Raspberry Pi.  Even though the ip address of the Pi does not appear in the pull down menu of detected devices connected to the IQrouter, I manually forwarded ports  22, 4500, and 5555.  The router still does not recognize the server.  I reconnected the Pi to my old Netgear router, and it is immediately recognized as a connected device.  I must be missing something basic.  Any suggestions would be greatly appreciated. 
73, Bob, KN4HH
Photo of Bob  KN4HH

Bob KN4HH

  • 97 Posts
  • 21 Reply Likes

Posted 2 years ago

  • 1
Photo of Mark - W3II

Mark - W3II

  • 150 Posts
  • 33 Reply Likes
IPSec uses port 500 so I had to uncheck the IQRouter, Network menu, Firewall menu item, Traffic Rules tab, "Any udp From any host in wan To any host, port 500 in lan" rule. Then I selected the Port Forwards tab and forwarded 4500 and 500 UDP to my RPI. I hope this helps.
Photo of Bob  KN4HH

Bob KN4HH

  • 97 Posts
  • 21 Reply Likes
Thanks, Mike and Mark.  Mark, I tried your suggestion and no success.  Mike, My Pi is set up with a static ip and nothing has changed.  However, here is a bit more information.  The iqrouter does detect the Raspberry Pi log in  ip.  However, it does not detect the server ip (192.168.1.19). I can ping the log in ip internal and external.  The port forwarding ip address pulldown menu does list the log in ip but not the server ip.  I just reconnected the old Netgear router and the Pi VPN server is detected and I can reach my Flex 6500 with my ipad and iphone.

Bob
Photo of Mark - W3II

Mark - W3II

  • 150 Posts
  • 33 Reply Likes
The default subnet on the IQRouter is not 192.168.1 unless you changed it to 192.168.1. I believe it is 192.168.7. So if you did not change the DHCP subnet in the IQRouter change your static IP on the RPi to 192.168.7.19 to put it in the same Class C subnet. 73.
Photo of Mike va3mw

Mike va3mw

  • 824 Posts
  • 198 Reply Likes
Hi Bob

It does work, as I have several Softether VPN's parked behind IQ Routers.    Can you ping the Softether device from your local subnet?  

Here is what I would try, as I am guessing at your configurations.

  • Can you ping the router from the pi?
  • Can you ping the pi from the router?
  • I assume that the gateway address has not changed between the old and new router
  • Are you still using the same subent?  192.168.0.x vs. 192.168.1.x or some other subnet
  • Is the RPI using DHCP or fixed ip address?
Please provide more specifics like the exact IP addresses of the routers and the rpi.

Do and ifconfig of the pi and make sure the IP matches the subnet and the gateway address is correct.

Mike va3mw
Photo of Ria - N2RJ

Ria - N2RJ, Elmer

  • 2308 Posts
  • 946 Reply Likes
I had a similar issue with a friend's IQRouter and pi. He just rebooted the pi and it was fine.

Is your pi accessible locally? That would be the first thing to check. Try to ping it or ssh into it.
Photo of Bob  KN4HH

Bob KN4HH

  • 97 Posts
  • 21 Reply Likes
Once again, you caring, knowledgeable, helpful people have come to my rescue.  Ria, Mike, and Mark collectively held the keys to getting my VPN back on the air.  It was necessary for me to change the class of my Pi VPN ip to 192.168.7......  I also had to forward port 500.  once I did those things and rebooted the router and the Pi, everything working great.  Again, my tanks to you all for your contribution. 
By the way, Ria, it was a pleasure to meet you at Xenia this year.

73, Bob, KN4HH

This conversation is no longer open for comments or replies.