Skip to content

DSR Mode #9

@sowie2016

Description

@sowie2016

Does DSR work across servers in different datacentres?

I have got the standard proxy working but cant get the config working for DSR and cant see where I'm going wrong from the instructions. Is there a log anywhere I could check?

The interface is listening with no errors, but I cant complete a TCP connection with the server behind it.

I set up the balancers as per the instructions below, is there anythign I could be missing?

Thank You for any help

` sudo tc qdisc add dev enp0s8 root handle 10: htb

sudo tc filter add dev enp0s8 parent 10: protocol ip prio 1 u32 match ip src <LOCAL_SERVER_IP> match ip sport <LISTEN_PORT> 0xffff match ip dst <LOAD_BALANCER_IP> action ok

sudo tc filter add dev enp0s8 parent 10: protocol ip prio 10 u32 match ip src <LOCAL_SERVER_IP> match ip sport <LISTEN_PORT> 0xffff action nat egress 192.168.1.117 <LOAD_BALANCER_IP> `

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions