For those of you stuck behind a corporate intranet firewall, here’s a few python functions that might come in handy: #!/usr/bin/env python #iptools.py import socket import urllib2 def get_intranet_ip: “”"Relies upon your company’s intranet web site being available”"” s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.connect((“www.myintranethost.net”, 80)) ipaddr, port = s.getsockname() return ipaddr def get_internet_ip: “”"Relies upon external [...]