use ip6tables for any_proxy to ipv6 addresses

This commit is contained in:
Ben Gardiner 2022-04-25 21:36:03 +00:00
parent ed4239fad5
commit 2bc3d871ef
2 changed files with 23 additions and 7 deletions

View file

@ -43,8 +43,8 @@ func NewAnyProxy(s *session.Session) *AnyProxy {
"Leave empty to intercept any source address."))
mod.AddParam(session.NewStringParameter("any.proxy.dst_address",
session.ParamIfaceAddress,
session.IPv4Validator,
"",
"",
"Address where the proxy is listening."))
mod.AddParam(session.NewIntParameter("any.proxy.dst_port",