Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Tony on March 19, 2004, 04:23:54 PM
-
I really hope you can help me out, I have used SME 5.1.2 with NAT 1-1 for some time.
Now that server is down and I made a new and setup with SME 6.0 with 1-to-1-iptables.tar.gz
It will not work for me I have tryed now with 2 different servers.
I have chmod 700 both install and reset-all, chmod 700 makefrag.pl
Then edit config.txt in 2 different ways.
First
new_external_ip, internal_ip, allowable_network
195.67.133.131, 192.168.18.78, 0/0
Secund
# new_external_ip, internal_ip, allowable_network
195.67.133.131, 192.168.18.78, 0/0
-
I really hope you can help me out, I have used SME 5.1.2 with NAT 1-1 for some time.
Now that server is down and I made a new and setup with SME 6.0 with 1-to-1-iptables.tar.gz
Not surprising. The firewall configuration changed considerably since 5.1.2. What is this package supposed to do?
Mike
-
I get error:
Shutting down IP masquerade and firewall rules: Done!
Enabling IP masquerading: /etc/rc.d/init.d/masq: NEW: command not found
iptables v1.2.5: Couldn't load target ipblock_inet':/lib/iptables/libipt_ipblock_inet.so: cannot open shared object file: No such file or directory
Try iptables -h' or 'iptables --help' for more information.
iptables v1.2.5: Couldn't load target ipblock_inet':/lib/iptables/libipt_ipblock_inet.so: cannot open shared object file: No such file or directory
Try iptables -h' or 'iptables --help' for more information.
iptables: No chain/target/match by that name
iptables: Table does not exist (do you need to insmod?)
done
Finished
what is wrong. Maybe it is for sme 5.x?
-
Hi
Look at this link:
http://forums.contribs.org/index.php?topic=22414.0
got it to work fine, just one problem, when the server reboots the nat won't work and you have to execute these commands:
/sbin/e-smith/expand-template /etc/rc.d/init.d/masq
/etc/rc.d/init.d/masq restart
then it works fine again, have not had the time to figure why it won't work on reboot - but have not had the need to reboot it for quite some time :-D
Hope it will help you on your way.
Frederik