I'm experimenting with running the RasPi (latest and greatest software) with OpenVPN running alongside.
I have the PBX configured (check)
I have OpenVPN installed and running (check)
Can't connect.
So, two possible problems. Either my router is dropping packets destined for the Pi or the Pi is dropping packets which have been shipped to it.
The Pi is 192.168.40.210 on the network. I'm using UDP and port 1190. Port 1194 is being used for the OpenVPN configured on the router. I don't want to use the current (router) OpenVPN because I want to see if the phones will register directly to the Pi and work via OpenVPN.
So, on my router (OpenWRT) I have the following lines in firewall.user:
This should (hah!) forward to the Pi.
Edit: This does allow traffic to the Pi. I disabled iptables on the Pi and the OpenVPN client connected!!!!!!
What lines do I want on the Pi's iptables (/etc/network/iptables (?))? to allow traffic in and out from port 1190, etc.?
The Pi has TM3 installed.
I'm using the Pi as a testbed. When this works, I will install OpenVPN on my office PBX (in the basement) to allow iPhone VPN/softphone connections.
Thanks. I'm getting close, but in over my head.
Andrew
I have the PBX configured (check)
I have OpenVPN installed and running (check)
Can't connect.
So, two possible problems. Either my router is dropping packets destined for the Pi or the Pi is dropping packets which have been shipped to it.
The Pi is 192.168.40.210 on the network. I'm using UDP and port 1190. Port 1194 is being used for the OpenVPN configured on the router. I don't want to use the current (router) OpenVPN because I want to see if the phones will register directly to the Pi and work via OpenVPN.
So, on my router (OpenWRT) I have the following lines in firewall.user:
Code:
iptables -I FORWARD 1 -d 192.168.40.210 -p udp --dport 1190 -j ACCEPT
iptables -t nat -A PREROUTING -p udp --dport 1190 -j DNAT --to 192.168.40.210:1190
This should (hah!) forward to the Pi.
Edit: This does allow traffic to the Pi. I disabled iptables on the Pi and the OpenVPN client connected!!!!!!
What lines do I want on the Pi's iptables (/etc/network/iptables (?))? to allow traffic in and out from port 1190, etc.?
The Pi has TM3 installed.
I'm using the Pi as a testbed. When this works, I will install OpenVPN on my office PBX (in the basement) to allow iPhone VPN/softphone connections.
Thanks. I'm getting close, but in over my head.
Andrew