Find Jobs
Hire Freelancers

VPN S2S Failover Script with BASH

$30-250 USD

Avslutat
Publicerad över ett år sedan

$30-250 USD

Betalning vid leverans
I have a case in a network that is connected to a VPN s2s, the deployment is : IP a connect to IP c as active - (over vpn s2s) IP b connect to IP c as backup - (over vpn s2s) where what we want is when IP a fails to connect to the internet the s2s VPN connection from IP a to IP c breaks, then we make the script below, which is run on crontab/cronjob on unix every 1 minute: if ping -I WAN -c 3 8.8.8.8 &> 0 then clish -c "set static-route 3 disabled true" else clish -c "vpn tu del x.x.x.x" clish -c "vpn tu del x.x.x.x" clish -c "vpn tu del x.x.x.x" clish -c "set static-route 3 disabled false" fi The weakness of this script is that if the condition fails it will do an else which will repeat itself. which makes every 1 minute run clish -c "vpn tu del x.x.x.x", now what we want is clish -c "vpn tu del x.x.x.x" done only once as long as IP a fails to connect to the internet or 8.8.8.8 explanation: if ping -I WAN -c 3 8.8.8.8 &> 0 -> to check whether ip a can still connect to the internet if successfully connected do this -> clish -c "set static-route 3 disabled true" if failed to connect do this -> else clish -c "vpn tu del x.x.x.x" clish -c "vpn tu del x.x.x.x" clish -c "vpn tu del x.x.x.x" clish -c "set static-route 3 disabled false"
Project ID: 34078549

Om projektet

9 anbud
Distansprojekt
Senaste aktivitet två år sedan

Ute efter att tjäna lite pengar?

Fördelar med att lägga anbud hos Freelancer

Ange budget och tidsram
Få betalt för ditt arbete
Beskriv ditt förslag
Det är gratis att registrera sig och att lägga anbud på uppdrag
9 frilansar lägger i genomsnitt anbud på $123 USD för detta uppdrag
Använd avatar
Hello Dear, I am an Expert Network Engineer and I am working as Professor and Expert Consultant Network Engineer in a Multinational ISP. I have great hands-on experience for more than 15 years in various network technologies. I have Cisco CCNA & CCNP (Routing & Switching) and CCNP Enterprise (Enterprise Core & Enterprise Advanced Infrastructure Implementation) certifications. I have Juniper JNCIA-Junos (JN0-102) and JNCIA (Cloud) certifications. I have very good knowledge in Cisco wireless technology, VOIP & Network Security. My specialties: - Design/implement medium and large scale enterprise networks. - Configure Cisco Routers (ASR 1K & 9k, 2900, 2800, ISR 4K, 878, 888), Switches (Cat 6500, 3750, 3850, 2900, 2960, SG- 300, SG-500, [Nexus 5K, 7K and 9K]), Firewalls ([ASA 5505, 5506x, 5508], Fortigate, Palo Alto) and Wireless Acess Points 1800 and 2700. - Configure Juniper Routers (M7, M10, MX 480, MX 960) and SRX (300, 500). - Huawei, Mikrotik, HP & Ubiquiti devices Expert. - Packet Tracer, GNS-3, EVE-NG, VMWare workstation & VirtualBox Expert. - Routing protocols (RIP, OSPF, EIGRP, ISIS & BGP) Configuration and troubleshooting Expert and Switching Expert (VLANs, STP, VTP...). - VPN Configuration Expert (IPSEC/L2TP, GRE/PPTP, OPENVPN & SoftEther). - Linux, Unix & windows servers Expert. - Wireshark Traffic Capture & Analysis Expert. - Write technical reports and summaries. Thanks to check my profile and let me know if you are interested. Best Regards,
$30 USD Om 1 dag
4,8 (166 omdömen)
6,3
6,3
Använd avatar
Hello, I'm a systems administrator with experience with networking, linux and shell/bash scripts, I can fix your issue.
$50 USD Om 1 dag
5,0 (34 omdömen)
5,5
5,5
Använd avatar
I have a lot of work VPN S2S Failover Script with BASH message me
$350 USD Om 5 dagar
4,7 (26 omdömen)
5,5
5,5
Använd avatar
hi. i am network and security engineer for 9 years, knowledgeable with linux environment, i can try to doing with scripting which is this script can monitor the internet and can re route depending whats scenario we want. please chat me for details.
$140 USD Om 7 dagar
5,0 (33 omdömen)
5,2
5,2
Använd avatar
I can help you! Does this script need to be in shell script? Anyway, we can make the necessary changes for this project to work perfectly. I have been programming in Shell Scripts for over 10 years, whether performing complex functions for system administration or simple scripts for initialization of programs.
$30 USD Om 1 dag
5,0 (4 omdömen)
3,2
3,2

Om kunden

Flagga för INDONESIA
Indonesia
0,0
0
Medlem sedan dec. 18, 2017

Kundverifikation

Tack! Vi har skickat en länk för aktivering av gratis kredit.
Något gick fel med ditt e-postmeddelande. Vänligen försök igen.
Registrerade Användare Totalt antal jobb publicerade
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Laddar förhandsgranskning
Tillstånd beviljat för geolokalisering.
Din inloggningssession har löpt ut och du har blivit utloggad. Logga in igen.