Skip to content

proxy with DNAT #2

@ghost

Description

I try to use the proxy listening on 127.0.0.1 with DNAT configured with iptables, but connexion from client failed.
I build the network with 3 VMs in the same private network 192.168.179.0/24 : client (.133)---proxy (.128) ----server (.134)

server command : sudo ncat --sctp -l 192.168.179.134 38412

proxy command : proxy -4 -i 2048 -o 1024 -L 192.168.179.128:38412 -X 192.168.179.128 -S 192.168.179.134:38412
proxy iptables conf : sudo iptables -t nat -I PREROUTING -p sctp -d 192.168.179.128 -j DNAT --to-destination 127.0.0.1:38412
sudo iptables -t nat -I POSTROUTING -p sctp -s 127.0.0.1 -j SNAT --to-source 192.168.179.128

client command : sudo ncat --sctp 192.168.179.128 38412 --> Ncat: Connection refused.

Here is the pcap on proxy :

trace proxy sctp withDNAT 127 0 0 1

Any idea about this issue for checksum unverified ?

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