Skip to content

Instantly share code, notes, and snippets.

@basus
basus / topo.tex
Created January 26, 2018 18:07
Drawing network topology diagrams with Tikz
\usepackage{tikz}
\usetikzlibrary{arrows.meta,bending,automata,shapes}
\begin{tikzpicture}[,>={Stealth[round]},shorten >=1pt,auto,semithick]
\tikzstyle{host}=[rectangle,draw=black,minimum size=30pt,inner sep=0pt]
\tikzstyle{switch}=[circle,draw=black,minimum size=30pt,inner sep=0pt]
\tikzstyle{middlebox}=[diamond,draw=black,minimum size=30pt,inner sep=0pt]
\node[host] (h1) at (1,0) {\texttt{h1}};
@fintelia
fintelia / Cornell VPN Setup in Debian.md
Last active October 4, 2019 15:33
Instructions for connecting to the Cornell VPN without relying on the Cisco AnyConnect tool

###Step 1: Install Necessary Packages We will need the vpnc package:

$ sudo aptitude install vpnc

###Step 2: Download the PCF file We now need to the connection details for Cornell's VPN which can be found in CornellVPN.pcf. If that link doesn't work, you may have better success here http://www.it.cornell.edu/services/vpn/howto/archive/pcfcampwinxp.cfm

###Step 3: Extract Connection Details In a terminal run the following command (from the same directory as CornellVPN.pcf)