OpenVPN only one-way traffic



  • Hello all,

    I have been searching a lot but I can't find an answer to this.
    At my home I have a router running dd-wrt and on my dedicated server I'm running a pfSense server.
    I have an OpenVPN connection between the 2 and is running fine.
    The strange thing is that I can reach all the servers from my home to the pfSense network, but I cannot reach my home network from the pfSense network.
    What I also find a bit strange is that in the dd-wrt openvpn status it gives me twice the same IP:

    State
    Client: CONNECTED SUCCESS
    Local Address: 10.0.8.2
    Remote Address: 10.0.8.2
    (I configured 10.0.8.0/24 to be the VPN network)

    ifconfig command on the pfSense machine:
    ovpns2: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> metric 0 mtu 1500
    options=80000<LINKSTATE>
    inet6 fe80::250:56ff:fe08:2f46%ovpns2 prefixlen 64 scopeid 0x7
    inet 10.0.8.1 --> 10.0.8.2 netmask 0xffffff00
    nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
    groups: tun openvpn
    Opened by PID 38363

    ifconfig command on the dd-wrt router:
    tun1 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
    inet addr:10.0.8.2 P-t-P:10.0.8.2 Mask:255.255.255.0
    UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
    RX packets:279 errors:0 dropped:0 overruns:0 frame:0
    TX packets:330 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:100
    RX bytes:41754 (40.7 KiB) TX bytes:41086 (40.1 KiB)

    The firewall on the dd-wrt router:
    iptables -I INPUT 2 -p udp --dport 1194 -j ACCEPT
    iptables -I INPUT 3 -i tun1 -p icmp -j ACCEPT
    iptables -I FORWARD -i br0 -o tun1 -j ACCEPT
    iptables -I FORWARD -i tun1 -o br0 -j ACCEPT

    On the pfSense machine I allowed all traffic on the openvpn adapter.

    What could be the issue here?
    If you need more info please ask me.


 

© Copyright 2002 - 2018 Rubicon Communications, LLC | Privacy Policy