cloudflare / cloudflare/mmproxy
DSR with mmproxy
- Dominant language
- C
- Stars
- 518
- Forks
- 60
- PR merge metrics
- No merged PRs in 30d
Description
My topology,
server process (127.0.0.1:80) <--- HA proxy (sending proxy protocol info) <--- Client from Internet
Server process sees the real client IP via mmproxy as expected.
As a next step I was wondering if DSR could be enabled?
It doesn't work when I try to use ip rule to forward the response from local server process to the default GW (which I will then SNAT to the HA proxy's listening address)
`ubuntu@ip-10-172-1-218:~$ ip rule list`
`0: from all lookup local`
`32765: from all fwmark 0x7b lookup 101`
`32766: from all lookup main`
`32767: from all lookup default`
`ubuntu@ip-10-172-1-218:~$ ip route show table 101`
`default via 10.172.1.1 dev lo`
`10.172.1.1 dev lo scope link src 127.0.0.1`
Appreciate any pointers.
Thanks
Contributor guide
Assessment
This issue has not been assessed yet.