Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can tproxy and synproxy work together? #454

Open
NotFound-SF opened this issue Apr 12, 2021 · 1 comment
Open

How can tproxy and synproxy work together? #454

NotFound-SF opened this issue Apr 12, 2021 · 1 comment

Comments

@NotFound-SF
Copy link

Hi
My scenario is to redirect port 8080, 8090, 9000 to port 80 through tproxy, and apply synproxy on port 8080, 8090, 9000.

@NotFound-SF
Copy link
Author

Here is my configuration

version 6

client_myhttp_ports="default"
server_myhttp_ports="tcp/80,8060,8070,8080,8090,9000"
ipv4 synproxy input inface eno1 dst 10.8.25.68 dport 80,8060,8070,8080,8090,9000 accept
tproxy 8060,8070,8080,8090,9000 port 80 inface eno1
interface eno1 wan
	server myhttp accept
	client all accept

If I enable synproxy or tproxy separately, it works well, but when I enable synproxy and tproxy at the same time, only port 80 works well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant