Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Shells Virtual Desktop
BMail.ag - Secure Email Service
Server.net
CPLicense.net
VPS Server
Buy VPN
Vultr
VMs for AI
HostDare
ReliableSite White-Label Dedicated Hosting for Resellers
InterServer VPS
BMail.ag - Secure Email Service
Best VPN
High-Performance Bare Metal Server Solutions
Karvl.com
Server Mania Cloud Hosting
DataWagon Hosting
AlphaVPS Hosting
Evoxt.com
Clouvider
VPS Hosting with NVMe
Residential IPs in the US & 4G Mobile Proxies in EU & US with Unlimited Bandwidth
ReliableSite White-Label Dedicated Hosting for Resellers
Rabisu - Hosting Solutions
Shells Virtual Desktop
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

GRE tunnel behind NAT

dnwkdnwk Member

I'm trying to run a GRE tunnel from my home server to a VPS. I'm trying to figure out if that's possible. I could do port forwarding at home and my IP doesn't change. But I can't seem to find if GRE will work for port forwarding and which port to forward.

Comments

  • yoursunnyyoursunny Member, IPv6 Advocate
    edited March 2021

    GRE runs in top of IPv4.
    It uses neither TCP nor UDP.
    Therefore, you should forward IP proto 47.
    http://www.networksorcery.com/enp/protocol/gre.htm

    If you have OpenWrt, simply type "47" into the protocol selection box, and the system will recognize GRE.

  • dnwkdnwk Member

    @yoursunny said:
    GRE runs in top of IPv4.
    It uses neither TCP nor UDP.
    Therefore, you should forward IP proto 47.
    http://www.networksorcery.com/enp/protocol/gre.htm

    If you have OpenWrt, simply type "47" into the protocol selection box, and the system will recognize GRE.

    Thanks you. No wonder why I can't find GRE in OpenWRT's port forwarding. I guess you need to enter the number 47.

  • SplitIceSplitIce Member, Host Rep
    edited March 2021

    Yes @yoursunny is correct. GRE is ip proto 47.

    Most commercial retail routers don't have the option, but DMZ often forwards all protocols (depends how it's implemented).

  • CConnerCConner Member, Host Rep

    You could always try and using PFSense as your router. Has full support for GRE built in.

Sign In or Register to comment.