ok, this is the story:
I originally had only 1 server.con which connects on 443 TCP.
This is the original server.conf:
mode server
tls-server
local 192.168.1.21
port 443
proto tcp
#bridging directive
dev tap0
up "/etc/openvpn/up.sh br0 tap0 1500"
down "/etc/openvpn/down.sh br0 tap0"
persist-key
persist-tun
#certificates and encryption
ca ca.crt
cert server.crt
key server.key
dh dh1024.pem
tls-auth ta.key 0
cipher BF-CBC
comp-lzo
#DHCP Information
ifconfig-pool-persist ipp.txt
server-bridge 192.168.1.21 255.255.255.0 192.168.1.80 192.168.1.89
push "dhcp-option DNS 192.168.1.1"
push "dhcp-option DOMAIN mydomain.com"
push "redirect-gateway def1 bypass-dhcp"
max-clients 10
client-to-client
#log and security
user nobody
group nogroup
keepalive 10 120
status openvpn-status.log
verb 3
crl-verify crl.pem
This is the port 1194 UDP serverUDP.conf:
mode server
tls-server
local 192.168.1.21
port 1194
proto udp
#bridging directive
dev tap0
up "/etc/openvpn/up.sh br0 tap0 1500"
down "/etc/openvpn/down.sh br0 tap0"
persist-key
persist-tun
#certificates and encryption
ca ca.crt
cert server.crt
key server.key
dh dh1024.pem
tls-auth ta.key 0
cipher BF-CBC
comp-lzo
#DHCP Information
ifconfig-pool-persist ipp.txt
server-bridge 192.168.1.21 255.255.255.0 192.168.1.90 192.168.1.99
push "dhcp-option DNS 192.168.1.1"
push "dhcp-option DOMAIN mydomain.com"
push "redirect-gateway def1 bypass-dhcp"
max-clients 10
client-to-client
#log and security
user nobody
group nogroup
keepalive 10 120
status openvpn-status.log
verb 3
crl-verify crl.pem
These are the 443 TCP client.ovpn:
client
dev tap
remote mydomain.com 443
proto tcp
nobind
resolv-retry infinite
persist-key
persist-tun
ca ca.crt
cert client.crt
key client.key
tls-auth ta.key 1
cipher BF-CBC
comp-lzo
verb 3
This is the UDP client2.ovpn:
client
dev tap
remote mydomain.com 1194
proto udp
nobind
resolv-retry infinite
persist-key
persist-tun
ca ca.crt
cert client.crt
key client.key
tls-auth ta.key 1
cipher BF-CBC
comp-lzo
verb 3
These are my iptables:
iptables -A INPUT -i tap0 -j ACCEPT
iptables -A INPUT -i br0 -j ACCEPT
iptables -A FORWARD -i br0 -j ACCEPT
and my rc.local has the ipv4 forwarding = 1 on...
Since the server on 443 TCP connecting, I don't see why the UDP one is not...
Any idea why this isn't working?
Thanks