https://scn.sap.com/thread/3238848
Hi,
It depends on how you hosted your EP server in your network architecture (if you are using Enterprise Portal already in internet - means you had hosted your EP in DMZ - De Militarized zone, outside your Firewall system).
Please check the link attached, which may be helpful to you.
regards,
Bala