![]() |
|
Road Warrior VPN Setup Plus Port Forward - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Hacks, Exploits, and Various Discussions (https://hackforums.net/forumdisplay.php?fid=45) +--- Forum: Grayhat • Purple Team • Hybrid Security (https://hackforums.net/forumdisplay.php?fid=449) +---- Forum: VPN, Proxies, and Socks (https://hackforums.net/forumdisplay.php?fid=91) +---- Thread: Road Warrior VPN Setup Plus Port Forward (/showthread.php?tid=6025730) |
Road Warrior VPN Setup Plus Port Forward - __Digital__ - Nov 17, 2019 Today i will show you how to setup and install openvpn plus portforward on your vps or dedicated server, since there are so many people asking about vpns and safety.
Step 1. Is buy a vps or dedicated server from a reputable provider Step 2. Connect to your vps/dedictaed server as follows download putty from Putty Here ![]() Step 3. Install Git Code apt-get install git #Debian/ubuntuStep 4. Get the road warrior install of openvpn ![]() Code git clone https://github.com/Nyr/openvpn-install.gitStep 5. Install openvpn using the script Code cd openvpn-install && chmod +x openvpn-install.sh && ./openvpn-install.shAnswer the following questions: Public ip/Hostname Would be your server ip here UDP or TCP ![]() Port listening on: ![]() Select your DNS provider: ![]() Finally Client name of certificate: ![]() Step 6. Run openvpn-install.sh again ![]() Step 7. Connect to server with winscp or ftp client on port 22 get the client.ovpn file ![]() Step 8. Port forward 10.1.134.110 would be your openvpn client ip Code iptables -t nat -A PREROUTING -p tcp --dport 28006 -j DNAT --to 10.1.134.110RE: Road Warrior VPN Setup Plus Port Forward - creatine - Nov 17, 2019 Thanks Digital you helped me out a lot send you some bytes RE: Road Warrior VPN Setup Plus Port Forward - Fr3eD0M - Dec 14, 2019 Great Tutorial ! You save my cost and time.I had tried many forums and web but nobody answer me properly.Only your tutorial make fulfill my needs. Thanks for your tutorial.Hope you will share more tutorials about VPN like how to secure and build no logs VPN. Best wishes to you.have a nice day! RE: Road Warrior VPN Setup Plus Port Forward - only1sky - Dec 14, 2019 How can i apply this to ratting ? RE: Road Warrior VPN Setup Plus Port Forward - __Digital__ - Dec 14, 2019 (Dec 14, 2019 04:06 AM)Fr3eD0M Wrote: Great Tutorial ! Glad i could save you some time and money with the tutorial and yes there is a way to look for the logs which will be located /var/log/openvpn RE: Road Warrior VPN Setup Plus Port Forward - Fr3eD0M - Dec 14, 2019 (Dec 14, 2019 07:58 AM)__Digital__ Wrote: Glad i could save you some time and money with the tutorial and yes there is a way to look for the logs which will be located /var/log/openvpn Yes ! I have found it.If I delete that from my server then is it enough ? or Do I have to add these lines too ? log /dev/null status /dev/null verb 0 Or Do I have to do both( delete that file and add these lines ) Thanks for your kind response RE: Road Warrior VPN Setup Plus Port Forward - Duke - Dec 27, 2019 Very nice tutorial. I was looking for something like that. Thank you RE: Road Warrior VPN Setup Plus Port Forward - Hopsin - Dec 30, 2019 Thanks for this. Might come in handy! Appreciated. RE: Road Warrior VPN Setup Plus Port Forward - slopyy - Dec 30, 2019 this is really good tuts... really appreciate this.. thanks RE: Road Warrior VPN Setup Plus Port Forward - Kindness - Mar 23, 2020 This is very good,informative and helpful tutorial.But,I have faced a problem.Do you help me brother please............. 1. How can we check which ports are open now after opening many ports I can't remember them for my bad memory :(. 2. And How can I close individual port and port range? from command line. If you have some times please, Make a tutorial how to use won (Domain)dns for RAT instead of free ( like no-ip,duck-dns).I used freedns.afraid but they have locked/ban my account after 4 days later ( Screenshot https://prnt.sc/rlb0k2 ). Please,Make a tutorial about this topic brother.It will be great help for newbie like me. Best wishes to you. Kind regards RE: Road Warrior VPN Setup Plus Port Forward - __Digital__ - Mar 23, 2020 (Mar 23, 2020 09:24 AM)Kindness Wrote: This is very good,informative and helpful tutorial.But,I have faced a problem.Do you help me brother please............. Just buy a domain and park it, modify the A record to the vpn ip and you will be fine RE: Road Warrior VPN Setup Plus Port Forward - Kindness - Mar 23, 2020 (Mar 23, 2020 09:29 AM)__Digital__ Wrote: Just buy a domain and park it, modify the A record to the vpn ip and you will be fine Thanks for your quick reply,Brother. But ,In VPN. How can we check how many ports are open now? and how to close a single port and multiple ports through command line RE: Road Warrior VPN Setup Plus Port Forward - __Digital__ - Mar 23, 2020 (Mar 23, 2020 09:32 AM)Kindness Wrote: Thanks for your quick reply,Brother. Ports are closed by default unless you open them using the commands provided. You can open a rage using iptables command. Code iptables -A INPUT -p tcp --dport 1000:2000 will open up inbound traffic to TCP portsRE: Road Warrior VPN Setup Plus Port Forward - Kindness - Mar 23, 2020 (Mar 23, 2020 09:38 AM)__Digital__ Wrote: Ports are closed by default unless you open them using the commands provided. You can open a rage using iptables command. I used this command for open port 6240 Code iptables -t nat -A PREROUTING -p tcp --dport 6240 -j DNAT --to 10.8.0.2In this way I have opened more than 10 ports then saved this settings with this command: Code dpkg-reconfigure iptables-persistentthen I used this command : Code iptables -Lto see if it is in open list.But,It doesn't show in terminal. Note: All ports are opened successfully and usable. When I have followed your above instructions. But Before reading your tutorial I used these commands to open ports: Code iptables -A INPUT -p tcp -m tcp --dport 8800:8888 -j ACCEPTAnd When I used this command : Code iptables -LIt shows all opened ports and port ranges like this screenshot : https://prnt.sc/rlc52l But It doesn't shows these ports in the terminal what I have opened using your tutorial.Is there any commend to show which ports I opened using this command/Tutorials command: Code iptables -t nat -A PREROUTING -p tcp --dport 28006 -j DNAT --to 10.1.134.110I am sorry for wasting your valuable times.Forgive me brother. RE: Road Warrior VPN Setup Plus Port Forward - __Digital__ - Mar 23, 2020 (Mar 23, 2020 10:35 AM)Kindness Wrote: I used this command for open port 6240 I do not understand what issue you are having as you state they are open and working fine when you follow my tutorial. You are probably just over thinking everything. Just port forward the way i stated on the thread then issue iptables-save and it will save your opened ports to iptables. |