Skip to content
/ gip Public

Grabs IP from Domain and updates the iptables

License

Notifications You must be signed in to change notification settings

BillGR17/gip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

gip

Codacy Badge

Grabs IP from Domain and updates the iptables

In order for this to work you need to have a comment with HOME (unless you change the script to something else) in your iptables Then when the script runs it will get the ip from the domain name and checks it if its different than the last time
and if it is it will update the iptable

You need the Go languange installed

for ubuntu sudo apt install golang

for arch sudo pacman -S go

For a single run go run gip.go If you want exec file go build gip.go ./gip

About

Grabs IP from Domain and updates the iptables

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages