Re: [twsocket] No connection with TCP/IP over VPN
Maybe this helps: Sometimes a VPN is limiting the MTU and the machines at some (both?) ends have to do fragment/defragment. This does not work in all configurations or may impact in other ways your model. Try to specify a lower MTU than the default, either at endpoints or at the VPN endnodes level. Unfortunately I cannot explain further and have no reference at hand, but a quick search on VPN MTU stale or something like that may point you to a more detailed issue description - Original Message - From: [EMAIL PROTECTED] To: twsocket@elists.org Sent: Thursday, July 14, 2005 2:27 PM Subject: [twsocket] No connection with TCP/IP over VPN I'm not very much into networking, so my question might be quite dumb. I have made a controller for a datalogging application that uses TCP/IP to allow the logged data to be transferred to a connected computer. The IP address of this controller is 192.168.2.10. To retrieve the data via the local network, I have used the TWSocket component (cbuilder 1), set the address to 192.168.2.10 (PC address 192.168.2.2), port to 1 (which is used to transfer the data) and this appears to work flawless. Now we try to get the data into a different network (IP 192.168.0.x) using VPN, but TWSocket can't connect. The VPN connection is working OK, and the controller responds to a PING from this network over the VPN as well, but nothing happens with my TWSocket application. Port 1 is open on both ends of the network firewalls. Where should I look for to troubleshoot this problem? Menno -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] No connection with TCP/IP over VPN
What error number do you get in the OnSessionConnected event ? -- [EMAIL PROTECTED] Author of ICS (Internet Component Suite, freeware) Author of MidWare (Multi-tier framework, freeware) http://www.overbyte.be - Original Message - From: [EMAIL PROTECTED] To: twsocket@elists.org Sent: Thursday, July 14, 2005 1:27 PM Subject: [twsocket] No connection with TCP/IP over VPN I'm not very much into networking, so my question might be quite dumb. I have made a controller for a datalogging application that uses TCP/IP to allow the logged data to be transferred to a connected computer. The IP address of this controller is 192.168.2.10. To retrieve the data via the local network, I have used the TWSocket component (cbuilder 1), set the address to 192.168.2.10 (PC address 192.168.2.2), port to 1 (which is used to transfer the data) and this appears to work flawless. Now we try to get the data into a different network (IP 192.168.0.x) using VPN, but TWSocket can't connect. The VPN connection is working OK, and the controller responds to a PING from this network over the VPN as well, but nothing happens with my TWSocket application. Port 1 is open on both ends of the network firewalls. Where should I look for to troubleshoot this problem? Menno -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] No connection with TCP/IP over VPN
Hello Menno, To troubleshoot these steps to follow (not nececarly in sequence): 1. ping the host, if reply then route is ok 2. telnet to the host, if connect then TWSocket connect also 3. very importand: What's the winsock error ? Because this will tell you what exacly is wrong etablishing the connection. You have winsock error in OnSocketConnected, please log it. 4. route print will tell you about the local routes to the host 5. tracert will tell you how it get's there 6. ... --- Rgds, Wilfried http://www.mestdagh.biz Thursday, July 14, 2005, 13:27, [EMAIL PROTECTED] wrote: I'm not very much into networking, so my question might be quite dumb. I have made a controller for a datalogging application that uses TCP/IP to allow the logged data to be transferred to a connected computer. The IP address of this controller is 192.168.2.10. To retrieve the data via the local network, I have used the TWSocket component (cbuilder 1), set the address to 192.168.2.10 (PC address 192.168.2.2), port to 1 (which is used to transfer the data) and this appears to work flawless. Now we try to get the data into a different network (IP 192.168.0.x) using VPN, but TWSocket can't connect. The VPN connection is working OK, and the controller responds to a PING from this network over the VPN as well, but nothing happens with my TWSocket application. Port 1 is open on both ends of the network firewalls. Where should I look for to troubleshoot this problem? Menno -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be