Jump to content

Search the Community

Showing results for tags 'linux'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • The Lounge
    • General Stuff
    • Member Tutorials
    • TorGuard Reviews
  • TorGuard Software Releases
    • Network Status
    • TorGuard Client Releases
    • Android Client Releases
    • iOS App Releases
    • Chrome Extension Releases
    • Firefox Extension Releases
    • Edge Extension Releases
  • TorGuard VPN Support
    • VPN Questions and General Support
    • VPN Windows Support
    • VPN Mac Support
    • VPN Linux Support
    • VPN Router Support
    • iOS VPN Support
    • Android VPN Support
  • TorGuard Proxy Support
    • Proxy Questions and General Support
    • Firefox Extension Support
    • Chrome Extension Support

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...

Found 19 results

  1. Hi all, I figure this is a long shot, but I may as well ask: I have a server running Ubuntu 20.04 that connects constantly to TorGuard via OpenVPN (auth port 1195, UDP), and I want to run a NGINX reverse proxy to make my torrent client's WebUI accessible without having to remember the port number. So far the reverse proxy works as intended, but I can only access it on port 80 through my local network. Now, I know that I can't forward ports 80 or 443 on TorGuard's network because they're below 2048. However, TorGuard support replied to my initial ticket and said that I shouldn't have any issue with ports 80/443 from the outside. I've checked, and firewalls are disabled. I realize a solution to this problem would be running my VPN-connected applications in a Virtual Machine, but that's not possible as the computer the server runs on does not support virtualization on a hardware level. Emulation would be way too slow, as the platform is a mid-range Core 2 Duo from early 2009, so that's out of the question. Is there any way to push traffic through ports 80/443 on the TorGuard network? Thanks.
  2. Hi, I’m already using Torguard for a few years (mostle OpenVPN in Docker containers). Now I installed the Torguard client on my Debian virtual machine to use with Wireguard and qBittorent. So I installed Torguard, installed Wireguard, set my port forward and made connection, all working fine as expected. However when the connection is up I can no longer access (from another pc in same lan of virtual machine), the webinterface of qBittorent who resides on the same ip of the virtual machine, so ip:portnumber When I disconnect I can connect again to it. Also I noticed in the routing table Torguard uses a hard coded but my local range is so could this be the cause? Or do I need to manually alter the routing to make it work?
  3. Okay so I can't figure this out for the life of me. I've been having seeding ever since I switched to TorGuard, so naturally it seems like a port forwarding issue. My download speed is fine, but I'm lucky if any of my 500+ linux isos are seeding at all, and when they do, its 100kbps ish After talking with support they say it's not possible to forward a port and use it inside of unraid, which makes no since to me. Anyone have this same problem with a fix? Thanks!
  4. Morphy

    Share Wifi to LAN OpenVPN

    Hi guys. I need some help, I have a current Wireguard setup which is working fine, but I want to test out performance with OpenVPN and so far it seems that OpenVPN is performing better on my Rasp4. My Rasp needs internet from Wifi , then share to eth . My TG.conf without cerficates: client dev tun proto udp remote swe.torguardvpnaccess.com 1912 resolv-retry infinite nobind persist-key persist-tun tun-mtu 1500 tun-mtu-extra 32 mssfix 1450 ca ca.crt remote-cert-tls server auth-user-pass user.txt script-security 2 up /etc/openvpn/update-resolv-conf down /etc/openvpn/update-resolv-conf compress ncp-disable verb 3 reneg-sec 0 keepalive 5 30 fast-io sndbuf 393216 rcvbuf 393216 cipher AES-256-GCM auth SHA256 key-direction 1 <tls-auth> My script #!/bin/bash # Share Wifi with Eth device # # # This script is created to work with Raspbian Stretch # but it can be used with most of the distributions # by making few changes. # # Make sure you have already installed `dnsmasq` # Please modify the variables according to your need # Don't forget to change the name of network interface # Check them with `ifconfig` ip_address="" netmask="" dhcp_range_start="" dhcp_range_end="" dhcp_time="12h" eth="eth0" wlan="tun0" sudo systemctl start network-online.target &> /dev/null sudo iptables -F sudo iptables -t nat -F sudo iptables -t nat -A POSTROUTING -o $wlan -j MASQUERADE sudo iptables -A FORWARD -i $wlan -o $eth -m state --state RELATED,ESTABLISHED -j ACCEPT sudo iptables -A FORWARD -i $eth -o $wlan -j ACCEPT sudo sh -c "echo 1 > /proc/sys/net/ipv4/ip_forward" sudo ifconfig $eth $ip_address netmask $netmask # Remove default route created by dhcpcd sudo ip route del 0/0 dev $eth &> /dev/null sudo systemctl stop dnsmasq sudo rm -rf /etc/dnsmasq.d/* &> /dev/null echo -e "interface=$eth\n\ bind-interfaces\n\ server=\n\ domain-needed\n\ bogus-priv\n\ dhcp-range=$dhcp_range_start,$dhcp_range_end,$dhcp_time" > /tmp/custom-dnsmasq.conf sudo cp /tmp/custom-dnsmasq.conf /etc/dnsmasq.d/custom-dnsmasq.conf sudo systemctl start dnsmasq My ethernet dont seem to get any ip adress: 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000 link/ether XXXXXXXXXXXXXXXXXXXX inet brd scope global noprefixroute eth0 valid_lft forever preferred_lft forever inet6 XXXXXXXXXXXXXXXXXXX/64 scope link valid_lft forever preferred_lft forever 3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 link/ether XXXXXXXXXXXXXXXXXXXXX inet brd scope global dynamic noprefixroute wlan0 valid_lft 85907sec preferred_lft 75107sec inet6 XXXXXXXXXXXXXX64 scope link valid_lft forever preferred_lft forever 4: tun0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN group default qlen 100 link/none inet peer scope global tun0 valid_lft forever preferred_lft forever inet6 XXXXXXXXXXXXXXXXXXX64 scope link stable-privacy valid_lft forever preferred_lft forever DNSMASQ info: [email protected]:~ $ sudo systemctl status dnsmasq.service ● dnsmasq.service - dnsmasq - A lightweight DHCP and caching DNS server Loaded: loaded (/lib/systemd/system/dnsmasq.service; enabled; vendor preset: enabled) Active: active (running) since Thu 2020-09-24 10:48:54 CEST; 10min ago Process: 567 ExecStartPre=/usr/sbin/dnsmasq --test (code=exited, status=0/SUCCESS) Process: 570 ExecStart=/etc/init.d/dnsmasq systemd-exec (code=exited, status=0/SUCCESS) Process: 580 ExecStartPost=/etc/init.d/dnsmasq systemd-start-resolvconf (code=exited, status=0/SUCCESS) Main PID: 579 (dnsmasq) Tasks: 1 (limit: 4915) CGroup: /system.slice/dnsmasq.service └─579 /usr/sbin/dnsmasq -x /run/dnsmasq/dnsmasq.pid -u dnsmasq -r /run/dnsmasq/resolv.conf -7 /etc/dnsmasq.d,.dpkg-d Sep 24 10:58:39 raspberrypi dnsmasq-dhcp[579]: no address range available for DHCP request via eth0 Sep 24 10:58:40 raspberrypi dnsmasq-dhcp[579]: no address range available for DHCP request via eth0 Sep 24 10:58:41 raspberrypi dnsmasq-dhcp[579]: no address range available for DHCP request via eth0 Sep 24 10:58:42 raspberrypi dnsmasq-dhcp[579]: no address range available for DHCP request via eth0 Sep 24 10:58:43 raspberrypi dnsmasq-dhcp[579]: no address range available for DHCP request via eth0 Sep 24 10:58:44 raspberrypi dnsmasq-dhcp[579]: no address range available for DHCP request via eth0 Sep 24 10:58:45 raspberrypi dnsmasq-dhcp[579]: no address range available for DHCP request via eth0 Sep 24 10:58:46 raspberrypi dnsmasq-dhcp[579]: no address range available for DHCP request via eth0 Sep 24 10:58:57 raspberrypi dnsmasq-dhcp[579]: no address range available for DHCP request via eth0 Sep 24 10:58:58 raspberrypi dnsmasq-dhcp[579]: no address range available for DHCP request via eth0 What am I missing here ?
  5. Hamm3rhart

    Can't connect to the server

    Hello, I can't connect with my Linux Server to the VPN. I installed openvpn with this tutorial https://torguard.net/knowledgebase.php?action=displayarticle&amp;id=32 but when i run the command openvpn TorGuard.Germany.conf i get the error: Options error: Unrecognized option or missing parameter(s) in TorGuard.Germany.conf:19: compress (2.3.4) Use --help for more information. could someone help me with this? TorGuard.Germany.conf
  6. 166312_1511348153

    Ubuntu Tray Icon Support

    This question was asked last year and was answered saying there will be support for this in the next update. Still no option for this in version 0.3.78. As said before, this application is something that stays on constantly so having it with running applications can make it quite cluttered. Any idea if a tray icon will be implemented soon?
  7. Ham Sandwich

    Stealth support on 443?

    It looks like "stealth mode" is using openvpn's scramble obfuscate option. It also looks like it is sending data over port 4443. Can I use stealth mode over port 443? I only have port 80 and 443 outgoing. Edit: Now I am thinking that I need to use an stunnel on port 443, and run the vpn through that. So now I am trying to figure out how to change the stunnel port to 443 on the Linux client. Edit2: I tried changing the stunnel from port 8447 to port 443 when connecting to one particular server. It did not work. Do any Torguard servers support stunnel on port 443? Thanks.
  8. Hi are there a script to prevent ip leakage on vpn disconnect (running on kodi, libreelec)? I found something firewall setting through iptables (up and down scripts), but I'm not sure about their working. Thanks John
  9. Has anyone had any experience setting up torguard in OpenSuse tumbleweed? The network manager by default in Opensuse is called Wicked and doesn't support openvpn config files.
  10. When I launch my .ovpn configuration with: "sudo openvpn --config TorGuard.TCP.ovpn" I receive three warnings that I am having trouble fixing. Although I do have a connection that seems to work well. I rather not have any warnings. WARNING: 'link-mtu' is used inconsistently, local='link-mtu 1560', remote='link-mtu 1592' WARNING: 'tun-mtu' is used inconsistently, local='tun-mtu 1500', remote='tun-mtu 1532' and WARNING: file 'auth.txt' is group or others accessible Here is my TorGuard.TCP.ovpn file contents. client dev tun redirect-gateway def1 proto tcp # The xxxx are replaced with whichever country remote xxxxx.torguardvpnaccess.com 995 resolv-retry infinite nobind persist-key persist-tun ca ca.crt remote-cert-tls server cipher AES-256-CBC auth-user-pass auth.txt comp-lzo verb 1 reneg-sec 0 auth-nocache ;link-mtu 1592 ;tun-mtu 1532 user nobody group nobody dhcp-option DNS To address the first two warnings, I though to add the link-mtu 1592 and tun-mtu 1532 to match the remote server, but recieved an error that I can't specify both. So I kept the link-mtu 1592 and took out the tun-mtu 1532. This configuration seemed to work the best because I no longer have the first two warnings, but a new one: WARNING: normally if you use --mssfix and/or --fragment, you should also set --tun-mtu 1500 (currently it is 1532) How should I configure my link-mtu and tun-mtu with warnings and what would be a good way to secure my auth.txt file to remove the the group accessibility? Thank you for your time.
  11. On my server I have four torguard configs and like to switch between them without effort when I want to change location, change encryption, or open ports. Using an alias and a single letter (e.g. "tor l") is enough to construct a handcrafted config from my personalised bits and a standard config file that has been downloaded and renamed correctly. Rather than maintain customised config files I thought I'd write a script as an exercise. I haven't added functionality to reload openvpn as I have aliases "ton" and "toff". I don't know bash scripting that well, suggestions welcome. #!/bin/bash # torGuard script to list torguard *.ovpn files or build a new torguard.conf including # personalised bits such as a password file and dns changer # downloaded torguard *.ovpn files should be renamed to something decriptive with a # unique initial letter e.g. london.ovpn, newjersey.ovpn, openport.ovpn (bittorrent) # usage: # script is run by an alias tor="sudo torGuard" # "tor": list the available torguard config file names with server and exit # "tor [initial search]": build a new config file based on matching initial letter OPENVPNDIR="/etc/openvpn" CONF=$OPENVPNDIR/torguard.conf DNS_SCRIPT=$OPENVPNDIR/update-resolv-conf MYIDENT="# Torguard configuration via" # show the current server echo "" grep -e "$MYIDENT" $CONF|cut -b3- # find: e.g. "tor n" would match newjersey.ovpn, "tor l" for london.ovpn OVPN=`find $OPENVPNDIR -iname "$1*.ovpn"` # two or more matches will be separated by space (e.g. naming error: non-unique first # letter, or input error "tor *o") FOUNDSPACE=`echo $OVPN|grep -c " "` # if anything other than one match, list the available .ovpn files then exit if [ "$OVPN" == "" ] || [ "$FOUNDSPACE" == "1" ] ; then echo -e "\nAvailable:" find $OPENVPNDIR/*.ovpn -exec basename -s .ovpn {} + exit fi # otherwise build torguard.conf starting with the personalised bits BASENAME=`basename -s .ovpn $OVPN` cat > $CONF << STOP $MYIDENT $BASENAME auth-user-pass $OPENVPNDIR/userpass.auth script-security 2 up $DNS_SCRIPT down $DNS_SCRIPT STOP # and then append lines from the matching .ovpn (except for the unwanted # blank "auth-user-pass" line) grep -v ^auth-user-pass $OVPN >> $CONF # display the new config name and server echo -e "Now $BASENAME ("`grep "^remote " $CONF | cut -d" " -f2`")"
  12. Hi everybody, As a linux n00b and first time poster on this forum I wanted to share my experiences and gained knowledge setting up a VPN on OpenElec. The main reason I wanted to set op a VPN-client on my raspberry Pi was to watch BBC iPlayer from outside the UK. I tried xBian but got into trouble with some DNS-stuff and the TUN adapter. So I flashed openELEC on it and tried again. Setting Up Raspberry Pi 1 Windows 7 PC ExtraPutty Winrar Notepad++ Filezilla Win32 disk imager OpenELEC-RPi.arm-6.95.3 8GB SD card Tips & trics for linux n00bs: You can use TAB to autofill folders the command pwd gives you the current folder name the command ls gives a list of files in the current folder the command cd ~ brings you to your home folder When the terminal looks frozen after running a command, use CTRL+C to return. OpenElec installation First download the latest beta version of openELEC for the Raspberry Pi, then extract the .img file to a folder. Use Win32 disk imager to write the .img to the SD card. Insert the SD card into the raspberry pi and supply power to the device. Complete the wizard. Get the openvpn files Download the openvpn config files from TorGuard HERE and unzip them somewhere. I only needed the TorGuard.UK.London.ovpn files and isolated this one to my desktop. Open the file in Notepad++ and look for: auth-user-pass replace this by: auth-user-pass /storage/login.txt I read somewhere that the TorGuard ovpn files got he incorrect line endings and need to be changed to the Linux EOL. To do this in notepad++, Edit -> EOL Conversion -> Convert to UNIX format. Save the file as all files and rename it to: TorGuard.UK.London.conf Then create a new file in notepad++ and insert yout TorGoard username and password on two lines. [email protected] TGpassword Convert the line endings as stated above and save as, all files, login.txt SSH into the device Make sure your windows computer is connected to the same network as the Raspberry Pi, preferably wired. Find the IP-address of raspberry pi and write it down. (System -> System info -> Network) My IP-address was but your's is definitely different. Open extraputty and insert the IP-address, tick SSH and click "OPEN". A black console should appear asking for a login. If not, upgrade the putty client and check connection with raspberry pi. The password and username are as following: login: root password: openelec congratulations! you're connected to the raspberry pi. Overclock Raspberry pi (optional) I got a Raspberry pi version 1, so speed is a bit of a problem. To overclock the device use: mount /flash -o remount,rw nano /flash/config.txt Look for the line: arm_freq=700 core_freq=250 and replace this by: arm_freq=800 core_freq=300 reboot the device to see the effects. Getting openvpn OpenELEC doesn't have apt-get so you need some hassle to get openvpn. I'ts in the unofficial repository so lets download it. I copy pasted the steps from here, to prevent link rot I also post them here. Make sure you are connected to the internet for this steps. * Open Kodi * Select SYSTEM > File Manager * Select Add Source * Select None * Type the following EXACTLY http://fusion.tvaddons.ag and select Done * Highlight the box underneath Enter a name for this media Source & type fusion * Select OK * Go back to your Home Screen* Select SYSTEM * Select Add-Ons * Select Install from zip file * Select fusion * Select xbmc-repos * Select english * Select repository.metalkettle-x.x.x.zip * Wait for Add-on enabled notification * Select Install from repository or Get Add-Ons on Helix * Select MetalKettles Addon Repository * Select Program add-ons * Select openvpn * Select Install * Wait for Add-on enabled notification * Select VPN for OpenELEC * Select Install * Wait for Add-on enabled notification Copy files to raspberry pi I use Filezilla to transfer files from the Windows computer to the raspberry PI. Open Filezilla HOST: sftp:// (insertyour own IP) USERNAME: root PASSWORD: openelec quickconnect Drag and drop the TorGuard.UK.London.conf file from the Windows computer in the storage folder. Do the same with the login.txt file. Test the VPN connection SSH into the device using extraPutty, insert root/openelec and you are in the terminal. First test if openvpn is installed: openvpn --help When you see alot of commands and information pop-up, congratulations. then test the VPN connection: openvpn /storage/TorGuard.UK.London.conf When you see: Initialization Sequence Completed the connection is established. To test if the external IP-address is foreign use: openvpn /storage/TorGuard.UK.London.conf & wget http://ipinfo.io/ip -qO - The result is an IP-address you can check online to see if it's foreign. Run on Startup To run the line of code on startup openelec is different from other linux distro's. It uses a file called autostart.sh to tun things. run this to edit/create the file: nano /storage/.config/autostart.sh insert this into the file: ( openvpn /storage/TorGuard.UK.London.conf ) & CTRL-X to save and exit. reboot reboot the system and test the connection. DONE!
  13. Ok, so, I've re-installed Linux Mint 18 about 6 times, and I've finally figured out at what step my connectivity get's completely killed: After installing TorGuard, and then after disabling it after having had it enabled. Expected Behavior (Linux Mint 17.3 did this): After using TorGuard, click disconnect on the TorGuard client. Normal network connectivity is restored. Current Behavior (Linux Mint 18 does this): After using TorGuard, click disconnect on the TorGuard client. Normal network connectivity is not restored. Websites cannot be browsed. Teamviewer has no connection. Checking for updates yields in a "red X" icon indicating no internet. I will note that I can still VNC into port 5900 while on my local network when this is down and not working, but my description above for what is not working is still accurate, even when VNC'd in. My network connection is "manual", and I have a static IP, Netmask, Gateway, and Google DNS. This works just fine until I install TorGuard and then disconnect after a happily VPN'd session on the machine. Here's a thread I found (it's recent and relavant) on the LinuxMint forums in regards to this exact issue. Just thought I'd make devs aware on the Torguard end, since it might be something we can change on this end to help ensure reliability.
  14. i am a noob with linux. running kali linux followed these instructions: Setting up an OpenVPN client for Ubuntu/Debian/Mint, CLI edition. These instructions do not use Network Manager. For the purposes of this tutorial we’ll presume you’ve been given your TorGuard zip file from our downloads page here. Install the requisite packages: sudo apt install openvpn Unzip your config file in your home directory: cd ~ unzip TorGuardPRO.zip Move all files to /etc/openvpn/ sudo cp ~/TorGuardPRO/* /etc/openvpn/ Re-name the .ovpn config files to .conf, Example: server.ovpn to server.conf, run the bellwo command to rename them all to .conf. cd /etc/openvpn rename -v ’s/\.ovpn/\.conf/’ *.ovpn Run your configs like so: cd /etc/openvpn/ openvpn server.conf For stopping and starting the openvpn service, use the commands below: sudo service openvpn start or stop or restart At the: rename -v ’s/\.ovpn/\.conf/’ *.ovpn command i recieved the following error: rename -v ’s/\.ovpn/\.conf/’ *.ovpn Unrecognized character \xE2; marked by <-- HERE after { #line 1 <-- HERE near column 15 at (user-supplied code). and i don't know where to go off of from here.
  15. Hi, Does anyone have any information about how to set up OpenELEC with this vpn? There is a vpn setup page where you can add an OpenVPN setup, but I don't know what to put in the fields. Thank you, Sybs
  16. The stealth servers disappeared from the Linux client months ago. I did a support ticket months ago, and they said they were about to fix this... months ago! What's up, folks? This isn't a difficult to debug software glitch... it's just a matter of configuration,
  17. evnflow

    Viscosity for linux?

    when or is Viscosity ever going to be available for linux? the wine(windows emulator) crashes when trying to install viscosity through it..
  18. MonkeyFoo

    Set MTU on Linux (Ubuntu)

    If the MTU is being set by DHCP, we can override that with some changes to /etc/dhcp/dhclient.conf ```option rfc3442-classless-static-routes code 121 = array of unsigned integer 8;send host-name = gethostname();#added these two lines before the request linedefault interface-mtu 1500;supercede interface-mtu 1500;request subnet-mask, broadcast-address, time-offset, routers, domain-name, domain-name-servers, domain-search, host-name, dhcp6.name-servers, dhcp6.domain-search, netbios-name-servers, netbios-scope, interface-mtu, rfc3442-classless-static-routes, ntp-servers, dhcp6.fqdn, dhcp6.sntp-servers; ```
  19. One of Torguard's big sells for me was the killswitch scripts which were purportedly available for Linux. Unfortunately, these scripts will not run natively on a Linux machine. The steps involved for making .bat scripts run on Linux is beyond confusing. http://www.linux.org/threads/running-windows-batch-files-on-linux.7610/ Is there not some way for Torguard's programmers to build scripts for Linux? I hope so, because If not, I will be cancelling my subscription and requesting a refund.
  • Create New...