Python pymodbus connect to VPN router [I/O Remote]
up vote
-1
down vote
favorite
I have set up an AWS OpenVPN server and I am using a router with VPN configuration. I have set up the router to connect to the VPN, and I can access the router through another device connected to another instance of the VPN (not on the same physical network as the router).
However, I cannot access the devices connected to the router. The router gets assigned an IP of "175.100.XXX.XX" , and so does my computer. However, the devices I connect to the router (Moxa I/O remotes) get an internal IP, and I cannot access them even though we are technically on the same network.
I have tried opening ports to pass through incoming connections on these ports to the devices, but I still cannot connect.
I am getting this error:
ERROR:pymodbus.client.sync:Connection to (175.100.XXX.XX, 3890) failed: [Errno 61] Connection refused
Any advice of how i can set this up so that these devices are accessible through remote
python networking vpn pymodbus
add a comment |
up vote
-1
down vote
favorite
I have set up an AWS OpenVPN server and I am using a router with VPN configuration. I have set up the router to connect to the VPN, and I can access the router through another device connected to another instance of the VPN (not on the same physical network as the router).
However, I cannot access the devices connected to the router. The router gets assigned an IP of "175.100.XXX.XX" , and so does my computer. However, the devices I connect to the router (Moxa I/O remotes) get an internal IP, and I cannot access them even though we are technically on the same network.
I have tried opening ports to pass through incoming connections on these ports to the devices, but I still cannot connect.
I am getting this error:
ERROR:pymodbus.client.sync:Connection to (175.100.XXX.XX, 3890) failed: [Errno 61] Connection refused
Any advice of how i can set this up so that these devices are accessible through remote
python networking vpn pymodbus
Are you able to connect/ping the IP and ports are listening ?.
– Kris
Nov 19 at 10:52
I tried doing an nmap of the IP, and it seems the ports are still closed. Only open ports are 80/tcp, 515/tcp and 9100/tcp. I tried opening ports 3760-3800 for device 1 and port 3801-3820 for device 2. These should point to port 502 internally. But seems the connection is still blocked. Firewall is turned off.
– user2868900
Nov 19 at 10:55
add a comment |
up vote
-1
down vote
favorite
up vote
-1
down vote
favorite
I have set up an AWS OpenVPN server and I am using a router with VPN configuration. I have set up the router to connect to the VPN, and I can access the router through another device connected to another instance of the VPN (not on the same physical network as the router).
However, I cannot access the devices connected to the router. The router gets assigned an IP of "175.100.XXX.XX" , and so does my computer. However, the devices I connect to the router (Moxa I/O remotes) get an internal IP, and I cannot access them even though we are technically on the same network.
I have tried opening ports to pass through incoming connections on these ports to the devices, but I still cannot connect.
I am getting this error:
ERROR:pymodbus.client.sync:Connection to (175.100.XXX.XX, 3890) failed: [Errno 61] Connection refused
Any advice of how i can set this up so that these devices are accessible through remote
python networking vpn pymodbus
I have set up an AWS OpenVPN server and I am using a router with VPN configuration. I have set up the router to connect to the VPN, and I can access the router through another device connected to another instance of the VPN (not on the same physical network as the router).
However, I cannot access the devices connected to the router. The router gets assigned an IP of "175.100.XXX.XX" , and so does my computer. However, the devices I connect to the router (Moxa I/O remotes) get an internal IP, and I cannot access them even though we are technically on the same network.
I have tried opening ports to pass through incoming connections on these ports to the devices, but I still cannot connect.
I am getting this error:
ERROR:pymodbus.client.sync:Connection to (175.100.XXX.XX, 3890) failed: [Errno 61] Connection refused
Any advice of how i can set this up so that these devices are accessible through remote
python networking vpn pymodbus
python networking vpn pymodbus
asked Nov 19 at 10:35
user2868900
569
569
Are you able to connect/ping the IP and ports are listening ?.
– Kris
Nov 19 at 10:52
I tried doing an nmap of the IP, and it seems the ports are still closed. Only open ports are 80/tcp, 515/tcp and 9100/tcp. I tried opening ports 3760-3800 for device 1 and port 3801-3820 for device 2. These should point to port 502 internally. But seems the connection is still blocked. Firewall is turned off.
– user2868900
Nov 19 at 10:55
add a comment |
Are you able to connect/ping the IP and ports are listening ?.
– Kris
Nov 19 at 10:52
I tried doing an nmap of the IP, and it seems the ports are still closed. Only open ports are 80/tcp, 515/tcp and 9100/tcp. I tried opening ports 3760-3800 for device 1 and port 3801-3820 for device 2. These should point to port 502 internally. But seems the connection is still blocked. Firewall is turned off.
– user2868900
Nov 19 at 10:55
Are you able to connect/ping the IP and ports are listening ?.
– Kris
Nov 19 at 10:52
Are you able to connect/ping the IP and ports are listening ?.
– Kris
Nov 19 at 10:52
I tried doing an nmap of the IP, and it seems the ports are still closed. Only open ports are 80/tcp, 515/tcp and 9100/tcp. I tried opening ports 3760-3800 for device 1 and port 3801-3820 for device 2. These should point to port 502 internally. But seems the connection is still blocked. Firewall is turned off.
– user2868900
Nov 19 at 10:55
I tried doing an nmap of the IP, and it seems the ports are still closed. Only open ports are 80/tcp, 515/tcp and 9100/tcp. I tried opening ports 3760-3800 for device 1 and port 3801-3820 for device 2. These should point to port 502 internally. But seems the connection is still blocked. Firewall is turned off.
– user2868900
Nov 19 at 10:55
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53372755%2fpython-pymodbus-connect-to-vpn-router-i-o-remote%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Are you able to connect/ping the IP and ports are listening ?.
– Kris
Nov 19 at 10:52
I tried doing an nmap of the IP, and it seems the ports are still closed. Only open ports are 80/tcp, 515/tcp and 9100/tcp. I tried opening ports 3760-3800 for device 1 and port 3801-3820 for device 2. These should point to port 502 internally. But seems the connection is still blocked. Firewall is turned off.
– user2868900
Nov 19 at 10:55