Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Local server can't get local client IP
« previous
next »
Print
Pages: [
1
]
Author
Topic: Local server can't get local client IP (Read 934 times)
Groyk
Newbie
Posts: 4
Karma: 0
Local server can't get local client IP
«
on:
October 27, 2020, 09:22:22 pm »
Hi all
I have setup OPNsence as firewall. Behind I have an webserver running. Redirection from WAN and LAN works fine.
However then I access the webserver from my local network, the webserver sees the OPNsence IP, not the client IP.
How do I pass the client IP in the request.
on my webserver I am testing with PHP "$_SERVER['REMOTE_ADDR']"
I have setup unbound dns->Overrides
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Local server can't get local client IP