trafficserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rebirthing <>
Subject Problem on Transparent-Proxy Configuration
Date Tue, 24 Jan 2017 07:45:17 GMT
Hello. My name is Jaden, a developer in korea.

I'm trying to configure Router-ATS Transparent Proxy.

But it doesn't work and I couldn't figure out the problem.

Please Help me.

OS : Ubuntu 16.04
ATS Version : Latest
Network Topology :
 Internet ----- (ens33, : ATS : (ens35,
---- Intranet

iptables setting

# iptables -t nat -A POSTROUTING -o ens33 -j MASQUERADE
# iptables -A FORWARD -i ens33 -o ens35 -m state --state
# iptables -A FORWARD -i ens35 -o ens33 -j ACCEPT

# iptables -t mangle -A PREROUTING -i ens35 -p tcp -m tcp --dport 80 -j
TPROXY  --on-ip --on-port 8080 --tproxy-mark 1/1
# iptables -t mangle -A PREROUTING -i ens33 --source -j
# iptables -t mangle -A PREROUTING -i ens33 --destination -j
# iptables -t mangle -A PREROUTING -i eth33 -p tcp -m tcp --sport 80 -j
MARK --set-mark 1/1
# ip rule add fwmark 1/1 table 1
# ip route add local dev lo table 1

I checked the packets with wireshark. Only Tcp packets didn't pass through.

DNS Querying is working but TCP not.

Could you help me?

Thank you.

View raw message