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

Keep origin IP Portforwarding #3715

Open
bennizone opened this issue Dec 18, 2024 · 2 comments
Open

Keep origin IP Portforwarding #3715

bennizone opened this issue Dec 18, 2024 · 2 comments

Comments

@bennizone
Copy link

bennizone commented Dec 18, 2024

I sucessfully created an Port 443 forward described in Wiki (tried both - VPN an v2ray)
I forwarded to an reverse Proxy. All incoming Traffic to this Proxy seems to come from omr LAN IP.
Is it possible to change this? I wish I could see the origin IP at the reverse Proxy. So I can create rules based on that.

Specifications

  • OpenMPTCProuter version: 0.61-6.6
  • OpenMPTCProuter VPS version: 0.1031 6.6.36-x64v4-xanmod1
  • OpenMPTCProuter VPS provider: Hetzner VPS
  • OpenMPTCProuter platform: x86_64

I already tried to find a solution on the web but wasnt successfull.

@winkmichael
Copy link

I'm slightly confused by your question, but I believe the answer is the IP address that is coming from you LAN is being NAT'd through your router. If that is correct, the answer is basically no the IP will always be your router (e.g. .1)

@bennizone
Copy link
Author

bennizone commented Dec 19, 2024

Excuse my bad English. I'll try to explain.
In the past I had double NAT: ISP router --> opnSense --> reverse proxy.
I had a rule on the reverse proxy that some sites required basic authentication to access. The reverse proxy always showed whether you were coming from outside or not. I also saw the IP of my smartphone, for example, when I accessed it from outside via LTE.
Now with the omr everything seems to come from the omr LAN IP and I can't distinguish between internal access and external access.

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

No branches or pull requests

2 participants