Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with local IP view and transparent option #370

Open
r4yzs opened this issue Dec 1, 2022 · 1 comment
Open

Problem with local IP view and transparent option #370

r4yzs opened this issue Dec 1, 2022 · 1 comment

Comments

@r4yzs
Copy link

r4yzs commented Dec 1, 2022

Hello,

I have a problem with my configuration.

I can see the external IP in my logs but I have all the same IP in local (gateway IP like 192.168.1.254).

I use reverse proxy with nginx and header for forwarded IP.

Example : with external devices on my website : IP OK
But when I use a device in local : IP 192.168.1.254

My configuration : external-PC --> site.domain.com --> Router --> SSLH and reverse proxy --> site.domain.com IP OK

Local-PC --> site.domain.com --> Router --> SSLH and reverse proxy --> site.domain.com GATEWAY IP

My config :

Default options for sslh initscript

sourced by /etc/init.d/sslh

RUN=yes

binary to use: forked (sslh) or single-thread (sslh-select) version

systemd users: don't forget to modify /lib/systemd/system/sslh.service

DAEMON=/usr/sbin/sslh

DAEMON_OPTS="--user sslh --transparent --timeout 5 --listen 192.168.1.37:30000 --ssh 192.168.1.37:66 --http localhost:666 --ssl 192.168.1.37:666 --openvpn 192.168.1.37:28999 --pidfile /var/run/sslh/sslh.pid

@yrutschle
Copy link
Owner

I don't understand what is happening, and what you're expecting that should be happening. Please elaborate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants