AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Openvpn ports to forward8/18/2023 ![]() Iptables -L -v Chain INPUT (policy ACCEPT 107K packets, 53M bytes) 25 coming from the internet to 10.0.1.3.143 coming from the internet to 10.0.1.3.110 coming from the internet to 10.0.1.3.80 coming from the internet to 10.0.1.2.53 coming from the internet to 10.0.1.1.What i need is to port forward some ports: With this all computers on my network have internet using the vpn ip address. Iptables -table nat -append POSTROUTING -out-interface $VPN -j MASQUERADE Iptables -table nat -append POSTROUTING -out-interface $WAN -j MASQUERADE Iptables -append FORWARD -in-interface $LAN -j ACCEPT I found a way to share the vpn connection using this: #Disable Firewall Main DNS server with 2 NIC's: /etc/network/interfaces ![]() ![]() I do need all my computers in my local network to be using the VPN ip address and not my ISP ip address. so the best solution i could think of is to use vpn service with a static ip address to use instead of my ISP ip address. Our ISP keep changing there rules and they start blocking some port like 25, 21 and 143. I do have an office with Several PC's and we share the internet connection using iptables and our DNS server we also have Mail and FTP Server. I am trying to share vpn connection between my network without any luck. ![]()
0 Comments
Read More
Leave a Reply. |