I need to run 2 external ip addresses on a sme 7 box.
I have copied /etc/sysconfig/network-scripts/ifcfg-eth1 to ifcfg-eth1:0 and edited it and I can ping the address and I can bind the service I want to that IP (there seems to be nothing in the templates that will overwrite this unlss I am missing something).
I need to open a single port on the firewall for this ip address and this is causing me problems. I can see that the external ip is configuired in /etc/e-smith/templates/etc/rc.d/init.d/masq/00Definitions as OUTERNET and I could create a custom template that creates OUTERNET:0 that defines the second external ip address but I am not sure how to create a custom template for the actual rule (will use tcp port 443 on second ip).
I would like to do this the 'sme' way rather than some crude hack so any suggestions appreciated.
cheers
Mark