Author Archive for: bermmerb

Change default port in proxmox

14 Oct
October 14, 2019

There is no direct method to change default port in proxmox so we use iptables to redirect to desire port instead.

1. Find network interface to apply iptables rule in proxmox. In this case VM bridge 0 is the interface we should apply our iptables rule.

root@proxmox:/# more /etc/network/interfaces
auto lo
iface lo inet loopback

iface enp5s0 inet manual

auto vmbr0
iface vmbr0 inet static
	address 192.168.1.5
	netmask 255.255.255.0
	gateway 192.168.1.1
	bridge_ports enp5s0
	bridge_stp off
	bridge_fd 0

iface eno1 inet manual

iface wlp0s20u4 inet manual
root@proxmox:/#

2. Apply iptables rule to incoming network interface. We will change proxmox default port 8006 to 41568.

root@proxmox:/#iptables -t nat -I PREROUTING -i vmbr0 --dst 192.168.1.5  -p tcp --dport 41568 -j REDIRECT --to-ports 8006

3. Save iptables rules.

root@proxmox:/#apt-get install iptables-persistent
root@proxmox:/#/usr/sbin/netfilter-persistent save

การเปลี่ยน default mirror ของ kali linux เป็น mirror ไทย ku.ac.th

23 Sep
September 23, 2019

1. แก้ file sources.list

Kali $ vim /etc/apt/sources.list

2. ลบข้อมูลเดิมออกให้หมดแล้วใส่ code ข้างล่างลงไป

deb http://mirror1.ku.ac.th/kali/ kali-rolling main contrib non-free
deb-src http://mirror1.ku.ac.th/kali/ kali-rolling main contrib non-free

3. ทำการ update mirror ใหม่

Kali # apt update
Kali # apt upgrade
Hotel Villa Honegg

My certification path

30 Nov
November 30, 2018

GIAC มันต้อง renew ทุกๆ 4 ปี งั้นเอา 4 ตัวนี้ละกัน renew ไปเรื่อยๆ

GPEN – GIAC Penetration Tester
GCFA – GIAC Certified Forensic Analyst
GCIA – GIAC Certified Intrusion Analyst
GNFA – GIAC Network Forensic Analyst

FIX Windows 10 keeps adding Keyboard layouts without permission

04 Nov
November 4, 2018

I’m the one who have this problem for several month and tried many fix in the internet. Hope this help for anyone who has this problem 🙂

Problem:
Windows 10 always add keyboard layout that user didn’t intend to have it like in my case it’s always add UK keyboard layout:

Fix:
In order to fix this problem you have to do following steps:

  1. Go to setting > Time & Language > Region & Language > Administrative language setting
  2. Under Welcome screen and new user accounts make sure that there are no extra keyboard layout appear in the list
  3. Click OK and Restart PC. This should fix your problem.

****For Window 10 2004 and Later

  1. Go to Control Panel > Clock and Region > Region > Change date, time, or number formats
  2. Go to Administrative tab
  3. Click on Copy settings…
  4. Under Welcome screen and new user accounts make sure that there are no extra keyboard layout appear in the list
  5. Click OK and Restart PC. This should fix your problem.
© Copyright - HHGG It's 42