pieterlouw / caddy-net

Proxy server type for Caddy server (https://github.com/mholt/caddy)
Apache License 2.0
66 stars 11 forks source link

Proxying entire IPs #4

Open itskenny0 opened 6 years ago

itskenny0 commented 6 years ago

Hey there,

is there a possibility to use netcaddy to proxy all ports coming in on a specific interface to another host? This would be an alternative to using SNAT/DNAT iptables rules.

pieterlouw commented 6 years ago

Hi @itskenny0 ,

I will look into this, it depends on if the Go standard library net package support this.

itskenny0 commented 6 years ago

Thank you! I'm still very much interested in this functionality.