NAT IP to different address with iptables

Send request from IP address to another IP

iptables -t nat -A OUTPUT -d 10.10.11.11 -j DNAT --to-destination 10.20.11.11

Packets to 10.10.11.11 will be sent to 10.20.11.11


View rule: 

iptables -t nat -L

Flush rule:

iptables -t nat -F

Create NFS share

1 -  NFS server config

Edit /etc/exports


/backupnfs  10.10.10.130(rw)

#oracle linux
/backupnfs  10.10.10.132(rw,all_squash,anonuid=1001,anongid=1001)


Run 

service nfs-server reload

2 - NFS client
 

Edit /etc/fsatb

 mkdir /backupnfs

#NFS share
10.10.0.158:/backupnfs /backupnfs nfs hard,bg,proto=tcp,suid,rsize=32768,wsize=32768,noac 0 0

Run
systemctl daemon-reload

Updatable objects appear as 'no longer supported'

 

Symptoms

  • In some scenarios, the following validation warning appears on an updatable object: "Object is no longer supported. Enforcing security for this object is not possible." However, the object is still available in the updatable objects picker.

Solution

Updatable objects use CloudGuard infrastructure. To resolve this issue:

  1. Restart the CloudGuard controller by running these commands on the Security Management Server:

    • cloudguard stop

    • cloudguard start

  2. Open the updatable objects pane

Notes:
  • If you are using Smart-1 Cloud Contact Check Point Support to solve the issue.
  • If you are using Multi-Domain Management Server, run the commands on the MDS level.

 

Mount CIFS share on oracle linux

Install CIFS

 yum install cifs-utils -y

mount -t cifs -o username=USER,password=PASSWORD,workgroup=GROUP/AD,file_mode=0777,dir_mode=0777 //PATH_TO_SHARE /MOUNT_POINT

Example:

mount -t cifs -o username=user,password=Teste123,workgroup=localdomain,file_mode=0777,dir_mode=0777 //10.30.0.181/share$ /mnt/remotefolder

Install Veeam plugin Oracle linux

  Install Veeam plugin Oracle linux rpm -Uvh --nodigest --nofiledigest VeeamPluginforOracleRMAN-12.2.0.334-1.x86_64.rpm

Mais vistos