How to redirect packages from 443 port to another port exposed by "ambassador" executed in a kubernetes pod?

10/2/2019

We installed ambassador executed in a kubernetes pod that accept ssl packets on '31998' port (spec.ports.nodePort). Currently, for some new software requirements, we need to accect traffic on 443 standard ssl port. We can't modify the actual ambassador port '31998', because there are many clients pointing at this port. How to redirect traffic in input from '443' port to '31998' port? There are other solutions on ambassador to expose the standard 443 port without change the default port range of kubernetes ?

Software versions:

  • Ambassador version: 0.75.0
  • Os: CentOS Linux 7 (Core)
  • kubernetes: last version

We already tried to redirect the traffic modifing the ip table and nat table.

-- user1800752
ambassador
docker
iptables
kubernetes
ssl

0 Answers