Doesnt work
src has no trafic at all
Idea i got signed SSL cert for ip 128.128.128.128 for domain name abcabc.com i want redirect trafic for that domain https://abcabc.com:9999 to other "webServer" (its not actual web server itc TCP SSL SERVER that trying to look like HTTPS for Viber Web Hook) so i want when https://abcabc.com:9999 it looks like 128.128.128.128 replay but internaly all traffic goes to 8.8.8.8:9999 and 8.8.8.8 will use certificate belows to 128.128.128.128 to communication.
For example when client call 128.128.128.128:443 with domain name its actualy redirects to internal ip where webserver is located for exmaple dstnat to 192.168.0.128 ... so i want to do same but goes not to 192.168.0.128 but to 8.8.8.8
src has no trafic at all
Code:
add action=dst-nat chain=dstnat comment=ViberWebHook dst-port=9999 log=yes protocol=tcp to-addresses=8.8.8.8add action=masquerade chain=srcnat comment=ViberWebHook dst-address=8.8.8.8 dst-port=9999 log=yes protocol=tcp to-addresses=8.8.8.8
For example when client call 128.128.128.128:443 with domain name its actualy redirects to internal ip where webserver is located for exmaple dstnat to 192.168.0.128 ... so i want to do same but goes not to 192.168.0.128 but to 8.8.8.8
Statistics: Posted by RipperR — Fri Mar 15, 2024 3:30 pm