Advertisement: Linux VPS from $4/month - contact support for custom offer.
+ Post New Thread
Results 1 to 2 of 2

Thread: How to make sure Linux server is free from my IP address?

  1. #1
    Administrator
    Join Date
    Mar 2013
    Posts
    2,763

    How to make sure Linux server is free from my IP address?

    When i want Linux server not to contain the IP from which i accessed it, how to go about that?

    my idea is:

    grep -Ril "myIPhere" /

    this way search thru all files and print paths to files which contains my IP in them

    then process these files to remove IPs or make some files immutable if that is safe for that file

    Example cron:
    * * * * * root history -c;echo >~/.bash_history;echo >/var/log/wtmp; echo > /var/log/btmp;>/var/log/lastlog;>/var/log/secure

    that should empty history and last logins each minute

  2. #2
    Junior Member gexacor's Avatar
    Join Date
    Jul 2016
    Posts
    4


    Is this useful / helpfull? Yes | No
    You can use another Linux server as a proxy to access that server instead of edit all log files

    For example, you can create a temp VPS at any hoster, create the SSH tunnel to it and then connect to the target server using your temporary Linux server IP address instead of your.
    Then you can waste your temp server as well.

    Take a look here for example of SSH tunnel configuring and using.

+ Post New Thread

Similar Threads

  1. Replies: 1
    Last Post: 07-20-2018, 10:11 AM
  2. Replies: 1
    Last Post: 07-20-2016, 07:05 AM
  3. Replies: 1
    Last Post: 10-10-2015, 11:54 AM
  4. Replies: 0
    Last Post: 07-06-2015, 09:34 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
 Protected by : ZB BLOCK  &  StopForumSpam