March 22nd, 2013, 09:33 AM
OpenVPN/Samba firewall issue
I've got OpenVPN and Samba both setup on a remote server. I got everything working with windows network drive mounts over the VPN. And then I installed a firewall and I can no longer connect. I've tried everything I can think of- all the rules I can find, opening the ports, etc.
Could you guys please take a look and let me know what rules I've screwed up, and what I should do to fix it? I'm using CSF- and this is the output for rules : hxxp://pastebin.com/wUtZuYcj (cant post links without more posts on this forum)
OpenVPN is running on the standard port and is setup to run with the standard 10.8.0.0 vpn. ovpn config is : hxxp://pastebin.com/aZkhSL1h (cant post links without more posts on this forum)
Samba is setup with a "clients" share that is using a user as authentication. The user is correct, and as far as I know, the ports are forwarded. I ran a quick before and after test and then a diff to find the ports that samba is using :
At this point i'm sure its a "VPN" setup\firewall issue. Because of that, here is the section of my ifconfig that pertains to that :
Also, it should be noted here that when I connect to OpenVPN, it immediately works and assigns me an IP of 10.8.0.6. I can not* ping 10.8.0.1 from my windows machine (ovpn client).
Any help would be greatly appreciated! Trying my best to get this done fairly soon.
March 22nd, 2013, 07:01 PM
Where did you install a firewall, on the remote server or on your workstation? And if you stop this firewall do things start working again?
I've never been able to appreciate the sublime arrogance of folks who feel they were put on earth just to save other folks from themselves .." - Donald Hamilton
March 22nd, 2013, 08:29 PM
The firewall was CSF (config server firewall) and it was installed on the server. I just uninstalled CSF and a DNS issue I was having is now resolved, but I can not restore connectivity to the samba share.
Originally Posted by Doug G