Advertisement: Linux VPS for $4/month - based on OpenVZ, credit card accepted, automatic setup.
+ Post New Thread
Results 1 to 2 of 2

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

  1. #1
    Fli
    Fli is online now
    Administrator Fli's Avatar
    Join Date
    Mar 2013
    Posts
    2,471

    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: 0
    Last Post: 09-12-2018, 01:55 PM
  2. Replies: 1
    Last Post: 07-20-2018, 11:11 AM
  3. Replies: 1
    Last Post: 07-20-2016, 08:05 AM
  4. Replies: 1
    Last Post: 10-10-2015, 12:54 PM
  5. Replies: 0
    Last Post: 07-06-2015, 10: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