turalo
Member
- Joined
- Oct 10, 2013
- Messages
- 75
- Reaction score
- 1
Hi guys.
I'm almost done with my new VM setup.
Basicly to secure my piaf vm's I have created a set of rules.
all ports but 5060-10000-20000 are closed via iptables.
I have created a vpn server, default pptpd and it is giving 192 adresses to users that login via vpn.
so I want only the users on IP 192 be able to reach httpd and ssh etc...
I have tried to change listening IP of httpd but it's not accepting it, I get error :
Starting httpd: (99)Cannot assign requested address: make_sock: could not bind to address 192.168.1.1:9080
no listening sockets available, shutting down
Unable to open logs
[FAILED]
I have also tried to add a iptables rule that only accept port 9080 connections based on source IP 192.x.x.x
but that does not reject other IP's, all public ip's also get acces to httpd.
Can anybody help advise to set this right?
I need to find a way to make the www and ssh only accesable by Local 192.168.1.0 network.
Thsi way only users that login true VPN will get acces to the www gui and ssh.
please help.
I'm almost done with my new VM setup.
Basicly to secure my piaf vm's I have created a set of rules.
all ports but 5060-10000-20000 are closed via iptables.
I have created a vpn server, default pptpd and it is giving 192 adresses to users that login via vpn.
so I want only the users on IP 192 be able to reach httpd and ssh etc...
I have tried to change listening IP of httpd but it's not accepting it, I get error :
Starting httpd: (99)Cannot assign requested address: make_sock: could not bind to address 192.168.1.1:9080
no listening sockets available, shutting down
Unable to open logs
[FAILED]
I have also tried to add a iptables rule that only accept port 9080 connections based on source IP 192.x.x.x
but that does not reject other IP's, all public ip's also get acces to httpd.
Can anybody help advise to set this right?
I need to find a way to make the www and ssh only accesable by Local 192.168.1.0 network.
Thsi way only users that login true VPN will get acces to the www gui and ssh.
please help.