Skip to content

Phils Blog and Stuff

TELECOMS. VIRTUALIZATION. IT. CODING. and more…

Menu
  • Home
  • Resources
    • Subnet Mask Cheat Sheet
    • Easy Dmarc+Email
    • MX Tool Box
  • Contact Me
Menu

GRE between Vyatta Core & pfSense

Posted on 11/08/201308/03/2023 by Phil

Below i show the config for Vyatta Core and pfSense configuration details, in order to create a GRE Tunnel between two sites.

GRE-LAB2

Vyatta Core Configuration:

vyatta@vyatta1-site1:~$ show configuration
interfaces {
ethernet eth0 {
address 192.168.1.1/24
duplex auto
hw-id 00:0c:29:00:a3:d7
smp_affinity auto
speed auto
}
ethernet eth1 {
address dhcp
duplex auto
hw-id 00:0c:29:00:a3:e1
smp_affinity auto
speed auto
}
loopback lo {
}
tunnel tun0 {
address 192.168.10.1/30
description "GRE TUNNEL TO SITE2"
encapsulation gre
local-ip 10.1.1.2
multicast enable
remote-ip 10.2.2.3
ttl 255
}
}
protocols {
ospf {
log-adjacency-changes {
}
parameters {
abr-type cisco
rfc1583-compatibility
router-id 2.2.2.2
}
}
static {
route 0.0.0.0/0 {
next-hop 10.1.1.1 {
}
}
}
}
service {
nat {
rule 1 {
outbound-interface eth1
source {
address 192.168.1.0/24
}
type masquerade
}
}

pfSense Configuration:

download1


download2

download3

Little ol’Me

Greetings, I'm Phil, an Infrastructure Engineer with a wealth of 21 years of experience in the industry.

My expertise spans the domains of datacenter management, virtualization, VoIP implementation, and network design and configuration.

I have a penchant for Open Source software, particularly M0n0wall, pfSense, OPNsense, and VyOS.

Please don't hesitate to reach out to me for any inquiries or collaborations. Thanks! :-)

Donations - £5.00 GBP

POSTS

  • Home Assistant. Add water meter with PHP+MQTT+YML.
  • Automating your home with Home Assistant. Initial install and config (Hyper-V).
  • The importance of setting up email security correctly.
  • Automate Debian installations with Seed, DHCP and Nginx.
  • A simple link shortener.. Fun little project…

WORD CLOUD

3CX 3CX Phone System Apache Asterisk Cacti CentOS CRM DHCP DNS Email Fail over Failover File System Firewall FreeBSD FreeNAS FXO IAX install IP IP PBX Linux M0n0wall Nottingham Open Source PBX PFSense PHP Router Server SIP snom SSH TrixBox ubuntu VLAN Voice VoIP VPN vyatta WAN Website WiFi yealink ZFS

© 2023 Phils Blog and Stuff | Powered by Superbs Personal Blog theme