Server and client behind routers

Asked by Norbert

Hello
I have network:
Server and client1 in local network, client2 is remote. They all behind routers.

Server -- router1 ---------- Internet -----------router2 -- Client2
                         /
Client1 -- /

I have full epoptes connection Client1<>Server.

On router1 I did NAT -- Virtual Servers Setup:
External Port Start External Port End Protocol Internal Port Start Internal Port End Server IP Address
789 789 TCP/UDP 789 789 192.168.1.4

192.168.1.4 is server.
Similar thing I did on router2.

On client2:
$ sudo epoptes-client -c
depth=0 C = AU, ST = Some-State, O = Internet Widgits Pty Ltd
verify error:num=18:self signed certificate
verify return:1
depth=0 C = AU, ST = Some-State, O = Internet Widgits Pty Ltd
verify return:1

That stops at this point.
I have ssh and http access to client2.

I need help to move forward.

Question information

Language:
English Edit question
Status:
Expired
For:
Epoptes Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Alkis Georgopoulos (alkisg) said :
#1

When running this on client2, does it work?

EPOPTES_CLIENT_VERIFY_CERTIFICATE=False /usr/sbin/epoptes-client

Revision history for this message
Norbert (shadowrider) said :
#2

$ sudo EPOPTES_CLIENT_VERIFY_CERTIFICATE=False /usr/sbin/epoptes-client
$

No errors, no output.

Revision history for this message
Alkis Georgopoulos (alkisg) said :
#3

Without sudo!

Also, is epoptes (not epoptes-client) installed in client2?

Revision history for this message
Norbert (shadowrider) said :
#4

$ EPOPTES_CLIENT_VERIFY_CERTIFICATE=False /usr/sbin/epoptes-client
 * Epoptes-client connecting to server:789...

and that's all...

epoptes is installed as well

Revision history for this message
Alkis Georgopoulos (alkisg) said :
#5

> epoptes is installed as well
=> that why it refused to run with sudo

> and that's all...
=> give it another try with:
socat - ssl:server-ip:789,verify=0

If it doesn't connect, your port forwarding somehow doesn't work correctly, I can't imagine anything else.

Revision history for this message
Alkis Georgopoulos (alkisg) said :
#6

You may also come to the IRC channel for live support, see the epoptes help menu.

Revision history for this message
Launchpad Janitor (janitor) said :
#7

This question was expired because it remained in the 'Needs information' state without activity for the last 15 days.