Skip to content

DSR with mmproxy #22

@sudar-path

Description

@sudar-path

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions