#12990: Port forwarding gives router ip as source, but should be public ip.
----------------------------+-----------------------------------------
Reporter: mitchhubers@… | Owner: jow
Type: defect | Status: accepted
Priority: normal | Milestone: Chaos Calmer (trunk)
Component: packages | Version: Trunk
Resolution: | Keywords: ip port forwarding firewall
----------------------------+-----------------------------------------
Comment (by andreeeee):
While the reflection_src thingie seems to work (I can see either internal
or external router IP when I connect from insde), there's a worse problem
with this.
After setting up the forwarding as down below (vi LuCi), the destination
machine doesn't see the external IP of machines connecting on it - it's
always the internal IP of the router:
sshd: Failed password for invalid user test from 10.0.0.1 port
Instead I would like to see the public address of the remote machine in
the logs...
%<--------------------------------
config redirect
option target 'DNAT'
option src 'wan'
option proto 'tcp'
option src_dport '22'
option name 'sshfwd'
option dest_ip '10.0.0.3'
option dest 'lan'
%<--------------------------------
--
Ticket URL: <https://dev.openwrt.org/ticket/12990#comment:8>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets