NOTE Before Implement this step for port forwarding to access bahmni openmrs and open erp from anywhere you should keep your Root password strong (mandatory) and you should have a static ip which would be provided by the ISP.
STEP 1:Insert the Static ip which is provided by the ISP in the router and check whether the internet is working or not. For different router there is different setting please check the manual it is an ease process to setup an static ip in router.
STEP 2:After setting step one now you can go to port forwarding page in router (EVERY ROUTER HAVE DIFFERENT UI) eg: FOR TP-LINK (Forwarding > Virtual Servers > Add New) FOR D-LINK (ADVANCED PORT FORWARDING )
STEP 3:INSERT the application name bahmni (Or any of your choice ),IP of bahmni , and port no 443 set as HTTPS (For openmrs)
STEP 4:Now create one more port forwarding for ERP ( Openerp,Odoo) by creating the same process .Application name :BAHMNI-ERP or Any name you want put the ip of bahmni and port no as 8069
STEP 5:Now save the setting and check whether port forwarding is working or not by going to site https://ping.eu/port-chk/ (IF IT IS WORKING IT WILL SHOW OPEN AND IF NOT IT WILL SHOW CLOSE) EX: https://188.8.131.52:443 or https://184.108.40.206
STEP 6:Now Check online by other network putting (https://Static ip:443) for MRS and for ERP (Static ip:8069) (NO HTTPS IN ADDRESS BAR) EX: 220.127.116.11:8069 only