Quantcast
Channel: SRX Services Gateway topics
Viewing all articles
Browse latest Browse all 3959

NAT on multiple network interfaces on server removes internet!

$
0
0

So i just figured out what i have been running into for several days now

 

I have a virtual server that i have 4 virtual network interfaces on.

Each of the virtual interfaces have ip from dhcp server on juniper srx

everything works fine, routing is great on the vps and i can reach internet and all that

 

 

NOW when i setup NAT so that i can map public ip address to each of the private ip addresses from the virtual network interfaces on the vps, then no more internet!!!

This is weird and am just happy i was able to troubleshoot it to this point

 

How did i know this? 

Well i noticed i  have internet on the vps with the 4 network interfaces until i enabled NAT so that i can map public ip to private ip on each of the 4 network interfaces and boom no more internet. So i removed the NAT and then internet came back instantly.

 

 

So my question is what do i do here? Hos cna i have NAT to map public ip to private ip on a server with multiple interfaces to still have internet. And yes the NAT works. So i can telnet to the public ips on the bind ports but the vps can not get to the internet.

 

 

Will appreciate help on this. Will be forever grateful anyone that can pint me to what i need to do.


Viewing all articles
Browse latest Browse all 3959

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>