I’m Having some trouble understanding how portforwarding works (NAT).
I want to access ‘my_server1’ on port ‘x’ from the internet and let it forward to ‘My_server2’ port ‘Y’ in my local lan.
The only way I got this to work is bij adding the IP-address of the external client-pc in “/etc/e-smith/templates/etc/smb.conf/11hostsAllow”
I think (hope) there is an easier way to get this to work, otherwise if an external-client has DHCP I need to add a lot of address (impossible).
I’ve created a test setup:
‘My_servers’ are both sme 6.01 freshly installed.
‘my_server1’ has 2 NIC’s and is in Gateway mode.
‘my_server2’ has one Nic and is a private server.
‘my_external_pc’ Connected to 2nd Nic of ‘my_server1’
Do I have to add the ip-address of the connecting client-pc to ‘Myserver_2’?
If so, should it be done in ...11hostsAllow?
Bas