CactusVPN allows port forwarding, which can improve your gaming experience by enabling direct connections to game servers, potentially reducing lag and improving stability. This article details how to configure port forwarding with CactusVPN for optimal gaming performance.
Obtain a Dedicated IP: CactusVPN requires a dedicated IP address for port forwarding to function. Purchase one through your CactusVPN account.
Access the CactusVPN Website: Log in to your CactusVPN account on their website.
Navigate to Port Forwarding: Find the "Port Forwarding" section, usually located in the account management area.
Add a New Rule: Click the button to add a new port forwarding rule.
Configure the Rule:
Protocol: Select the correct protocol, either TCP or UDP, based on the game requirements. Consult the game's documentation. Many games use UDP.
External Port: Enter the external port number. This is the port on the CactusVPN server that will forward traffic.
Internal Port: Enter the internal port number. This is the port your game is using on your local machine. Usually, the external and internal ports are the same for simplicity.
Local IP: Enter the local IP address of your gaming device. This is the private IP address assigned by your router (e.g., 192.168.1.100).
Activate the Rule: Enable the newly created port forwarding rule.
Static IP Address: Assign a static IP address to your gaming device on your local network. This prevents the IP address from changing, which would break the port forwarding. Access your router's configuration page (usually via a web browser).
DHCP Reservation: Use DHCP reservation to assign the same IP address to your device based on its MAC address. This is generally more reliable than manually setting a static IP on the device.
If you are running a firewall on your gaming device (e.g., using nftables on Linux), you need to allow the forwarded traffic:
nft add rule inet filter input iif "tun0" tcp dport {YOUR_INTERNAL_PORT} accept
nft add rule inet filter input iif "tun0" udp dport {YOUR_INTERNAL_PORT} accept
Replace {YOUR_INTERNAL_PORT} with the actual port number you are forwarding. tun0 is the typical interface name for VPN connections; adjust accordingly if needed.
Double-Check Ports: Ensure the external and internal ports are correctly specified and match the game's requirements.
Protocol Correctness: Verify the correct protocol (TCP or UDP) is selected.
Firewall Interference: Temporarily disable your local firewall to test if it's blocking the connection.
VPN Server Location: Test different CactusVPN server locations for optimal ping.
Dedicated IP Status: Confirm your dedicated IP is active and correctly assigned.
Verify the port forwarding rule is enabled on the CactusVPN website.
Confirm your gaming device has a static IP address.
Check your local firewall rules.
Test the port using online port checking tools.
Restart your router and gaming device.
Contact CactusVPN support if issues persist.