Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am pontus on github.
  • I am pontus (https://keybase.io/pontus) on keybase.
  • I have a public key ASBYncC-TgrKCrpORtploFZflPOgVVKXIMPG6rhRxKwzlwo

To claim this, I am signing this object:

@pontus
pontus / proxy.pac
Created September 2, 2019 13:34
My proxy config
function FindProxyForURL(url, host) {
// our local URLs from the domains below example.com don't need a proxy:
if (dnsDomainIs(host,"matrix.uppmax.uu.se") ||
dnsDomainIs(host,"jira.uppmax.uu.se") ||
dnsDomainIs(host,"gitlab.uppmax.uu.se"))
{
@pontus
pontus / something.pac
Created June 14, 2018 06:54
PAC (Proxy autoconfiguration) usage
function FindProxyForURL(url, host) {
// only list domains we want proxy for, connect from our machine for everything else.
if (dnsDomainIs(host,"uppmax.uu.se"))
{
return "SOCKS5 127.0.0.1:1081";
}
if (dnsDomainIs(host,"csc.fi"))
{

Keybase proof

I hereby claim:

  • I am pontus on github.
  • I am pontus (https://keybase.io/pontus) on keybase.
  • I have a public key whose fingerprint is 04A3 E994 FA90 0D54 7D5B 67F1 56CE 7662 27F8 82AD

To claim this, I am signing this object:

@pontus
pontus / wrap_nfqueue.c
Last active December 28, 2015 14:29
Simple nfqueue handler to enable tcp-wrapping at iptables level.
V1