GRE and cross-connect setup
With Remote Shield, attacks are filtered in the Satcore network and clean traffic reaches you over a GRE tunnel or a cross-connect. Either way, you announce your prefix to us over BGP with your own ASN.
Connection type
GRE tunnel
Wherever in the world your network is. Latency depends on the distance between your network and our data centers.
- Connect from any location
- No physical link needed
Cross-connect
If your servers are in one of our data centers, you connect straight to the Satcore network over a direct physical link.
- Direct link, no tunnel
- Lowest latency
Getting started
Send us the following with your Remote Shield order, or write to info@satcore.net:
- Your ASN and the prefixes to protect
- The connection type, and for a cross-connect the data center your servers are in
- For GRE, the public IP address of your end of the tunnel
- Whether outgoing traffic leaves through Satcore or through your own line
During setup we send you the Satcore tunnel endpoint and the addresses inside the tunnel. The addresses in the examples are placeholders; replace them with the values we send you before you run the commands.
| Satcore tunnel endpoint | 192.0.2.1 |
|---|---|
| Your tunnel endpoint | 198.51.100.10 |
| Inside the tunnel (Satcore / you) | 10.255.0.1 / 10.255.0.2 |
| Protected prefix | 203.0.113.0/24 |
| Your ASN | 64500 |
GRE tunnel
Your end of the tunnel must use an address outside the protected prefix. If it sits inside the prefix, GRE packets try to enter the tunnel itself as soon as the prefix is routed to Satcore, and the tunnel goes down.
Set the tunnel MTU to 1476 and the TCP MSS to 1436. GRE adds 24 bytes to every packet, and without this setting large packets get fragmented or never arrive.
Your firewall must accept GRE packets (IP protocol 47) from the Satcore endpoint.
/interface gre add name=gre-satcore local-address=198.51.100.10 remote-address=192.0.2.1 mtu=1476 /ip address add address=10.255.0.2/30 interface=gre-satcore /ip firewall filter add chain=input action=accept protocol=gre src-address=192.0.2.1 place-before=0 /ip firewall mangle add chain=forward action=change-mss new-mss=1436 passthrough=yes protocol=tcp tcp-flags=syn tcp-mss=1437-65535 out-interface=gre-satcore /ip firewall mangle add chain=forward action=change-mss new-mss=1436 passthrough=yes protocol=tcp tcp-flags=syn tcp-mss=1437-65535 in-interface=gre-satcore
ip tunnel add gre-satcore mode gre local 198.51.100.10 remote 192.0.2.1 ttl 255 ip link set gre-satcore mtu 1476 up ip addr add 10.255.0.2/30 dev gre-satcore iptables -I INPUT -p gre -s 192.0.2.1 -j ACCEPT iptables -t mangle -A FORWARD -o gre-satcore -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --set-mss 1436 iptables -t mangle -A FORWARD -i gre-satcore -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --set-mss 1436
Cross-connect
If your servers are in one of the data centers below, you connect to the Satcore network with a physical link. Port speed, cable type and who places the order depend on the data center; we settle these with you during setup.
- Tornado DCLangen · Germany
- Datacasa DCIstanbul · Başakşehir
- Zenix DCIstanbul · Sancaktepe
Once the link is up, continue with the BGP step below. There is no tunnel, so you do not need to change the MTU or MSS.
BGP
Open an eBGP session with the Satcore address (10.255.0.1 in the examples) and announce the protected prefix. Satcore’s ASN is 219384. The prefix must be registered in the IRR and valid in RPKI.
If you also announce the same prefix to another provider, traffic arriving that way does not pass through Satcore and is not protected.
/ip route add dst-address=203.0.113.0/24 blackhole /ip firewall address-list add list=satcore-out address=203.0.113.0/24 /routing bgp connection add name=satcore as=64500 local.role=ebgp remote.address=10.255.0.1 remote.as=219384 output.network=satcore-out
On Linux you need BGP software such as BIRD or FRR. The neighbor address, ASN and prefix stay the same.
You can control which neighbors the prefix is announced to, and how, with BGP communities.
Return traffic
Traffic to you always arrives through Satcore. Traffic your servers send out can take one of two paths.
Through Satcore
Outgoing traffic also leaves to the internet through Satcore. Send traffic sourced from the protected prefix to Satcore with policy-based routing. Traffic within the prefix and to your other local networks must stay in the main table; the first rule in the example does that.
/routing table add name=satcore fib /ip route add dst-address=0.0.0.0/0 gateway=10.255.0.1 routing-table=satcore /routing rule add dst-address=203.0.113.0/24 action=lookup table=main /routing rule add src-address=203.0.113.0/24 action=lookup-only-in-table table=satcore
ip route add default via 10.255.0.1 dev gre-satcore table 100 ip rule add to 203.0.113.0/24 lookup main priority 100 ip rule add from 203.0.113.0/24 lookup 100 priority 110
Through your own line
Outgoing traffic leaves through your own line and does not pass through Satcore. The provider of that line must accept packets sourced from the prefix. If it filters source addresses (BCP 38), have the prefix added to its allow list first.
Checks
- Ping the Satcore address inside the tunnel (10.255.0.1 in the examples).
- The BGP session should be Established, with your prefix announced.
- The Traffic Flow screen in the NetOps panel shows clean traffic arriving.





























